Most ML courses ask you to read formulas and watch videos. Here, every lesson is built around a working instrument — a thing you can poke at while you read. Build intuition first, then the math, then the code.
Illustrative — stylised attention patterns computed from your sentence, not a trained model. The real engine is in the Attention Microscope.
ATTENTION HEADS
OBSERVATION · PREVIOUS TOKEN
This head looks one step back — each token attends to the token immediately before it. The very first token has nothing prior, so it attends to itself. Induction and copying circuits lean on exactly this.
An "attention sink": no matter which token is querying, most of the weight pools on the first token. Real models use sinks as a stable resting place to dump attention when nothing else is relevant.
A locality head — weight falls off smoothly with distance, so each token mostly attends to its near neighbours. It is a Gaussian over how far apart the query and key sit in the sentence.
A content head — it ignores position and routes attention to the longest word in the sentence, a crude stand-in for "the most salient token". Real heads learn far richer notions of salience.
Figure 1.Live preview from the Transformer Explorer. Click a token, switch heads, and watch the attention pattern change.
§02 · METHOD
Connected Learning, not linear lectures.
Four passes through every concept. Each pass deepens what you already understand.
I.
INTUITION
See it move.
Start with a visualization you can manipulate. No equations yet — just notice patterns.
↳ interact
II.
THEORY
Then formalize.
Once intuition is in place, the math reads as a description of what you already saw.
↳ derive
III.
CODE
Build it yourself.
Implement the concept in a runnable environment. Break it. Fix it. Own it.
↳ execute
IV.
CONNECTIONS
Where else does this live?
Every concept links to its appearances elsewhere — the knowledge graph, not a track.
↳ navigate
§03 · INSTRUMENTS
Working instruments. Each a real idea.
Every visualization is a real, manipulable component — not a video, not a static figure.