L12·h24: earlier duplicate of the current token (self-matching, e.g. repeated names or identifiers)

Attention head 24 of layer 12 (of 36) in Qwen3-4B, among its workspace layers.

Fires on
Mid-token inside repeated code/identifier fragments and names, where an earlier copy of the same token is attended (the labeller was 30% sure)
Attends to
earlier duplicate of the current token (self-matching, e.g. repeated names or identifiers) (the labeller was 40% sure)
Writes
suppresses newline-plus-punctuation endings like ?⏎⏎ and .⏎⏎ (copy suppression of paragraph breaks) (the labeller was 30% sure)

Where it fires: …class Net[rc]Error(Exception … kwargs): super(Netrc.Net[rc]Error, self

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