LESSON 36.C2 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Transformer vs SSM vs hybrid at inference
Watch four models make the same 64 tokens and compare what each one keeps.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 36.C2 · MEMORY BAY64 TOKENS · 4 MODELS · 4 LAYERS EACH
01
Stage 1 of 6 · Same tokens
Four models of one shape make the same 64 tokens. Each layer keeps memory for the next step.
Explain it simply
On top you see the 64 words of a short story, one cell per token. Below are four models of the same size, with 4 layers each. They differ in what each layer keeps from one step to the next. That memory is what this lesson compares.
A strip of 64 token cells on top. Four columns of 4 layers below: transformer, linear attention, SSM and hybrid.
tokens, cache and statedashed: grows per tokenshare in ytotalsa layer
Toy: the 36.C2 model, 4 layers × 32 channels, FP16 · mixing step only, weights set by hand
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The four models make the same tokens, one per step.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 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.