L28·h2: The immediately previous token, especially closing brackets and quote marks

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

Fires on
Positions where a closing quote, bracket or parenthesis follows content, in code and quoted text (the labeller was 35% sure)
Attends to
The immediately previous token, especially closing brackets and quote marks (the labeller was 55% sure)
Writes
Suppresses closing brackets and quote-bracket combinations like "] and "}), copying informal punctuation (the labeller was 50% sure)

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