Spooky Sale: 10% off Premium yearly · $118.80 for the first year · until Nov 6Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning 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
      Intuition
      42 of 88

      How confused is the model?

      A language model read a text one word at a time and gave each actual next word a chance. Write perplexity(chances): one number for how confused the model was, said as “it was like choosing among k words”.

      chances = [0.5, 0.1, 0.25]: the chance the model gave each word that actually came next
      the
      50%
      cat
      10%
      sat
      25%
      solution.pyLoading Python
      ← Too small to storeNever say never →