L22·h4: Earlier occurrence of the same token (duplicate-token attention), common in code
Attention head 4 of layer 22 (of 48) in Gemma 4 12B, among its workspace layers.
Fires on
Tokens that repeat an earlier token in the same text, especially code identifiers and symbols (the labeller was 50% sure)
Attends to
Earlier occurrence of the same token (duplicate-token attention), common in code (the labeller was 60% sure)
Writes
Promotes British-spelled and money or household nouns (colour, jewellery, cheque, dollars, teachers) and suppresses computing tools (Arduino, Jupyter, MacOS) (the labeller was 30% sure)
Where it fires: …, type_names[):]… VALID_TYPE_SCHEMA_TYPES:[↵] fail_
Labels by Claude Haiku 5.5. The explorer shows this head's weight reads, firings and connections beside the labels.