L24·h31: Copies single capital letters and proper names (B, D, M, Music, Michael); suppresses closing brackets and line-end tokens

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

Fires on
Import statements and module paths in Python code, plus identifiers ending in underscores (the labeller was 25% sure)
Attends to
Attention sink position 0, with some attention to earlier module or import names (the labeller was 35% sure)
Writes
Copies single capital letters and proper names (B, D, M, Music, Michael); suppresses closing brackets and line-end tokens (the labeller was 40% 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