L47·h12: LaTeX math and escape tokens such as $\, {\ and closing brackets in code

Attention head 12 of layer 47 (of 48) in Gemma 4 12B, among its motor layers.

Fires on
LaTeX math and escape tokens such as $\, {\ and closing brackets in code (the labeller was 35% sure)
Attends to
The word 'out' or 'turns' in phrasal verbs, and LaTeX command starts (the labeller was 25% sure)
Writes
Copies closing parentheses and escaped brackets; suppresses opening brackets and quote endings (the labeller was 35% sure)

Where it fires: …How could we have missed that? [Turns] out the ring

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