gpt2 at revision 607a30d783dfa663caf39e06633721c8d4cfcd7e, float32, on a beginning-of-text token, then 16 random tokens, then the same 16 again. Tokens: <|endoftext|> | continued | SS | Louis | attack | vary | CD | Does | deeper | Gr | pro | shopping | clean | leadership | Is | girl | facility | continued | SS | Louis | attack | vary | CD | Does | deeper | Gr | pro | shopping | clean | leadership | Is | girl | facility
Attention pictures and scores show where heads look: observations, not causal evidence. What the model needs is tested by interventions, on the Effects and Edges pages.
How to read this page. Each head's average attention to the previous word (previous-token score) and to the word after the earlier copy (induction score), in percent. These name suspects: they say where heads look, not whether the model needs them.
Every head's previous-token score (its mean weight on the position before) and induction score (its mean weight, on the second copy, on the token after the current token's earlier occurrence). The leading heads:
Head scores from attention patterns only: candidates, not causal evidence. gpt2 at 607a30d783dfa663caf39e06633721c8d4cfcd7e, a beginning token then 16 random tokens, twice. induction 5.5 95% 5.1 86% 6.9 85% 7.10 83% 7.2 72% 10.7 67% 5.0 56% 9.6 52% 10.1 50% 9.9 49% previous token 4.11 100% 3.7 57% 2.2 51% 2.9 43% 3.2 43% 6.8 41% 7.0 39% 5.6 38% 3.8 37% 2.5 36%