The 16 attention heads of layer 31 (of 48) in Gemma 4 12B, among its workspace layers. Every neuron and head of Gemma 4 12B is labelled by Claude Haiku 5.5 from the evidence the explorer shows beside it.
L31·h0: fires on pronoun-subject positions in prose, e.g. 'authors', 'him', 'He'…; attends to sink-heavy; weak attention to earlier human-referring nouns and pronouns; writes promotes third-person gendered pronouns (他们, 她们, They, Their)
L31·h1: fires on line breaks and closing delimiters in code or Chinese news boilerplate; attends to sink-dominated; little consistent token target; writes promotes closing code/markup tokens and newline runs; suppresses female…
L31·h2: fires on technical nouns and identifiers inside code (python decorators, class…; attends to technical tokens such as library names and class identifiers in code; writes suppresses gendered nouns (daughters, female, Women); weakly promotes…
L31·h3: fires on quantity or count nouns after a number, e.g. '3 reporting bureaus'…; attends to numerals and count words such as 3, two, three, five; writes promotes regional and count-related nouns (regions, sons, daughters…
L31·h4: fires on sentence-final periods and clause boundaries followed by contrastive…; attends to preceding clause ends and sentence punctuation; writes promotes contrastive or concessive words (but, however, instead…
L31·h5: fires on mid-sentence content words and nouns where the next token is a…; attends to preceding nouns and modifiers such as 'cause', 'level', 'loss'; writes promotes contrastive and hedging adverbs (instead, but, compares…
L31·h6: fires on hTML-style markup closers and attribute quotes like '">' and '/>' in…; attends to earlier copies of the same markup closer, and recent female-gender words; writes promotes female pronouns and words (her, she, herself, actress)…
L31·h7: fires on python code tokens in assignments and indexing, e.g. '=', '[]', 'typ'; attends to earlier code identifiers and brackets in the same snippet; writes promotes female-gender nouns (female, women, daughters, actress)…
L31·h8: fires on closing punctuation and code-ending tokens after quoted or nonsense…; attends to attention sink at position 0 mostly; weak attention to rare or unusual…; writes suppresses rare technical and noun-like tokens, promotes punctuation…
L31·h9: fires on positions inside verb-ing or -ate/-ize word-stem contexts where a…; attends to attention sink; weak attention to earlier verbs and abstract nouns in…; writes promotes abstract nouns and -ing or -ed verb forms like showdown…
L31·h10: fires on almost all positions, strongest after punctuation or inside quoted…; attends to previous token and recent punctuation, e.g. colons, dots and closing…; writes promotes casual or informal spellings and words like really, gonna…
L31·h11: fires on positions inside numeric citation or reference strings and uppercase…; attends to sink and self; weak attention to digits and uppercase tokens within…; writes suppresses British-spelled and -ised words (jewellery, authorised…
L31·h12: fires on positions where a slash or comma-slash separator precedes a conjunction…; attends to sink-heavy; weak attention to slash and separator tokens in code or…; writes promotes auxiliary and copula verbs (will, would, was, became, gets…
L31·h13: fires on positions after modal or negative contractions and hedging adverbs like…; attends to previous token, mostly modal and negative auxiliaries (hadn, didn…; writes promotes modal and negative auxiliary tokens (hadn, didn, would…
L31·h14: fires on almost all positions, especially at text starts and inside code or…; attends to sink plus self and induction-like repeats of earlier tokens at document…; writes suppresses evaluative adjectives (dangerous, powerful, beautiful…
L31·h15: fires on positions inside code or syntax tokens and inside repeated runs of…; attends to earlier domain nouns (children, females, percentages) and…; writes promotes social and topic nouns (females, children, billions…