Position schemes past the training length
Watch seven position schemes score one word pair past position 7.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moExplain it simply
You see one attention head and one pair of words, “sat” then “on”. Each row is one way to tell the head where words sit, and its name links to its lesson. The note in each row says what it does with position. Training saw positions 0 to 7, and the dashed frame holds 8 to 15.
Five rows now: sine code, learned table, relative values, RoPE and ALiBi. Interpolation and the NTK base join in stage 5. Above the left panel are the 16 tokens. “sat” then “on” is in bold. Positions 8 to 15 sit in a dashed frame.
Turn the query and the key by their positions, then compare them.
- 4 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.