L21·h12: Earlier identical keyword or argument tokens in code such as msg, self.die, failed

Attention head 12 of layer 21 (of 28) in Qwen3-1.7B, among its motor layers.

Fires on
Tokens in code and bullet or message strings where a keyword or argument name is about to follow, e.g. 'msg' and 'self' (the labeller was 25% sure)
Attends to
Earlier identical keyword or argument tokens in code such as msg, self.die, failed (the labeller was 30% sure)
Writes
Copies short code-like name tokens (GS, KS, LB, VK, Jerry, Dudley) and suppresses comma, semicolon and closing-bracket tokens (the labeller was 30% sure)

Where it fires: …sys.exit(1[)] def … 6): [self].die("

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