A Transformer exposes many internal values: attention weights, residual records, MLP activations, and intermediate logits. These values can help answer a precise question, but none is a complete explanation by itself.
This chapter inspects the trained 368-parameter decoder from Chapters 7 and 8. It compares two three-token prompts:
- clean:
<bos> X Y, where the model strongly predictsX; - corrupted:
<bos> Y X, where the model strongly predictsY.
Both prompts are valid corpus sequences. Here, corrupted does not mean malformed or out of distribution. It names the comparison run whose token order removes the clean run's evidence for the chosen X-over-Y question.
The main measurement is the final-position logit margin
It is 6.4618 for the clean prompt and -5.7350 for the corrupted prompt. That single number makes interventions easy to compare, while the complete output probabilities remain part of the record.
You will learn to:
- separate observation, association, intervention, and mechanistic evidence;
- verify that an instrumented forward pass still matches the original model;
- read attention patterns without treating them as complete explanations;
- inspect attention and MLP writes to the residual stream;
- project intermediate residual records into vocabulary space while stating the limits of this diagnostic;
- ablate heads and branches with an explicit replacement rule;
- patch activations from a clean run into a matched corrupted run;
- distinguish localization, necessity, sufficiency, and a complete mechanism;
- use neuron, feature, polysemanticity, and circuit vocabulary carefully;
- write a reproducible interpretation report with alternative explanations.
The examples establish facts about this small model, these prompts, and these interventions. They do not imply that every larger language model uses the same components or algorithm.
Chapter 10 will step back from one inspected model and map architectural variants, scaling evidence, and the boundaries of later subjects.