LESSON 10.07 · 6 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW
ALiBi
Watch a straight-line penalty on attention scores tell near words from far ones.
Needs10.06 RoPE
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 2 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 10.07 · POSITION BAYHEAD 1 · m = 1/4 · QUERY night AT 7
01
Stage 1 of 6 · No position
The query night at position 7 scores keys 0 to 7 by content. Both copies of “the” score 0.81.
Explain it simply
Night is the newest word. It asks a question, the query, and each word up to it offers a key. Each bar shows how well a key matches. No position goes in, so both copies of “the” get the same bar.
Score bars for keys 0 to 7. The keys at positions 0 and 4 are both “the”, and both score 0.81.
tokensbias, slopescores, weightsmasked, past position 7
Toy: 16 tokens, width 8, 4 heads of width 2, seeded weights (not trained)
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The score is the query times the key, scaled down.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 2 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.