step 04 · think it over, again and again
The two token-positions now flow upward through a tall stack of transformer blocks. Each block does two things, in order — first a looking-around step, then a thinking-in-private step.
attention · the looking-around step
Inside this sublayer, many heads run in parallel — each one lets every token look at every token that came before it, picking up a different kind of pattern. The vector for morning notices that beautiful sits in front of it — and updates itself to include that. Tokens can only look backward, never forward — they can't peek at words that haven't been said yet.
feed-forward · the thinking-in-private step
Then comes the block's second sublayer, where each token's vector is reshaped on its own — sharpening, abstracting, combining what it just learned from looking around.
it adds on top of, doesn't overwrite
Each sublayer's contribution — both attention and feed-forward — is mostly added to the running vector, not swapped in for what was there. The starting place stays largely intact underneath. By the top, the vector is the original meaning plus every block's thought stacked on top.
an honest note
The exact number of heads in frontier models is a trade secret. For comparison, open-source models in roughly this size class use somewhere between 32 and 128 heads per layer, stacked across dozens of layers. Frontier models are presumed bigger.