L30·h15: Previous token and the token itself, with weak keying on brackets and code calls

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

Fires on
Nearly every position, with the query in a noun-phrase or adjective context (the labeller was 25% sure)
Attends to
Previous token and the token itself, with weak keying on brackets and code calls (the labeller was 30% sure)
Writes
Suppresses closing brackets and parentheses; weakly promotes place names and nationalities (the labeller was 30% sure)

Where it fires: …least 2 [values] ([for] x and y

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