Black Friday Sale: 20% off Premium yearly · $105.60 for the first year · until Monday, Nov 30Get it

Deep-ML
Learn
ProblemsPractice, projects, collections, and your progressLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      ← back to the problem

      Prerequisite path

      Last-Token Classification from Sequence Logits

      CodingeasyOpen goal
      Start path
      Whole map

      Dependency network

      100%
      FoundationsLayer 2Layer 3Goal
      5 nodes · 4 connections

      After this goal

      • Gather Logits at Last Non-Padding Token
      • GPT-1 Fine-Tuning: Classifier on the Last Token Plus the Auxiliary LM Loss (L3 = L2 + 0.5 L1)
      • GPT-1 Input Transformations: Start, Delimiter and Extract Tokens for Entailment, Similarity and Multiple Choice