L31·h7: earlier copies of the current token (duplicate-token attention)

Attention head 7 of layer 31 (of 40) in Qwen3-14B, among its motor layers.

Fires on
repeated identifier or attribute tokens in code, especially on second occurrence (the labeller was 40% sure)
Attends to
earlier copies of the current token (duplicate-token attention) (the labeller was 55% sure)
Writes
suppresses short symbol and code-fragment tokens ("P, [D, =B, *M) (the labeller was 30% sure)

Where it fires: …import type_tunnel[↵]# … RpcCallbacks[(type]_tunnel.Tunnel

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