L1·h22: Earlier closing brackets and commas of the same code structure, duplicate-bracket attention
Attention head 22 of layer 1 (of 36) in Qwen3-4B, among its sensory layers.
- Fires on
- Closing brackets and argument boundaries in code, such as }), and ); at line ends (the labeller was 35% sure)
- Attends to
- Earlier closing brackets and commas of the same code structure, duplicate-bracket attention (the labeller was 40% sure)
- Writes
- Copies assorted rare words and early-sentence tokens; suppresses code operators and quote tokens (the labeller was 20% 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