LESSON 29.19 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Greedy decoding and temperature
Watch temperature reshape the next-token odds, and greedy decoding take the top.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 29.19 · DECODERSTEP 1 · TOP LOGIT CAT 2.0
01
Stage 1 of 6 · Logits
After the prompt “the”, the model gives a logit to each of the 10 tokens. “cat” has the top logit, 2.0.
Explain it simply
Each row is one word the model knows. The teal bar is its logit, a raw score. A longer bar to the right means the model likes that word more after “the”. Bars to the left of the line are below zero.
Ten rows, one per token. Teal bars show the logits after the. Cat has the longest bar, 2.0, and dog is next with 1.8.
logitstemperature, draw uprobabilities, outputT = 1 bar
Toy: a 10-token bigram model with hand-set logits, prompt “the”, 8 steps
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The model gives each token one raw score.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.