LESSON 10.C4 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Modern decoder recipes compared
See five modern decoder blocks as small diffs against one base block.
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 · 10.C4 · RECIPE BAYLLAMA · 3 OF 6 PARTS CHANGED
01
Stage 1 of 6 · Six parts
Llama changes 3 of the 6 parts, drawn in ochre. Every family keeps RoPE and the residual stream.
Explain it simply
Each column is one recipe for the same block. Each row is one part, in the order data moves. A grey cell copies the base, and an ochre cell is a change. The panel at the right follows one token through the base and the family you pick.
A table of 6 parts by 6 recipes. Llama changes the norm, the attention heads and the MLP.
token rows, normed rows, the KV cachea part the family changes; weightsattention weights, gates, the block outputa part the same as the basemasked keys, idle experts
Toy: one decoder block, 6 tokens, width 4, 2 heads; random weights, not trained
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each sublayer reads a normed copy and adds its result to the stream.
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.