L22·h5: Its own token (self) and the previous token; in code, the token just before a repeated identifier

Attention head 5 of layer 22 (of 48) in Gemma 4 12B, among its workspace layers.

Fires on
Nearly all positions, with peaks on repeated or mathematically technical tokens (the labeller was 20% sure)
Attends to
Its own token (self) and the previous token; in code, the token just before a repeated identifier (the labeller was 30% sure)
Writes
Promotes mathematical and statistical words (computationally, stochastic, Gaussian, polynomial, asymptotic) and suppresses British spellings and prices (the labeller was 40% sure)

Where it fires: …): template[_]name … True[↵] model =

Labels by Claude Haiku 5.5. The explorer shows this head's weight reads, firings and connections beside the labels.

Every unit's data is in the neuron-lens catalog on Hugging Face (CC BY 4.0). Guide: using Neuron Lens in research, from an AI assistant (MCP) or from code · How to read a unit · the method and findings