Loading Larkspur mini
Layer 1 · head 1 · token 7 of 7 (␣business)Each desk is one head. Weights computed live from Larkspur mini.
Chapter 4 of 7
Heads and layers
One attention pattern can’t look for everything. Larkspur mini has several, stacked in layers, and nobody told them what to look for.
This chapter: Why many heads and layers, and how do their results combine?
About this chapter
You will learn
- That each head learns to look for something different
- How to spot a head that finds the start of the current word
- How every layer adds to one running vector per token: the residual stream
Words you’ll meet
- Head
- One attention pattern with its own learned weights. Multi-head attention runs several heads side by side, so the model can attend to different kinds of information at once.
- Layer
- One round of attention heads followed by a small calculation on each token. Layers are stacked: the second reads what the first wrote.
- Residual stream
- The running vector each token carries through the model. Every layer adds what it found to it instead of replacing it.
Step 1 of 6
Each runs side by side, each with its own weights: 2 layers of 2 heads, one per desk.
Light every head.
Loading Larkspur mini…