L21·h31: Induction-like attention to an earlier identical or subword identifier in the same code

Attention head 31 of layer 21 (of 36) in Qwen3-8B, among its motor layers.

Fires on
Tokens inside Python identifiers and version or type names, such as 'version', 'Related', 'Fact' and 'Filter' (the labeller was 40% sure)
Attends to
Induction-like attention to an earlier identical or subword identifier in the same code (the labeller was 30% sure)
Writes
Suppresses childhood, entertainment and kids nouns and copies question marks and quote punctuation (the labeller was 20% sure)

Where it fires: …unknown', friendly_version[=None]): … self[.f]riendly_version =

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