L23·h10: Earlier copies of the current token within code, especially after a newline in an import

Attention head 10 of layer 23 (of 48) in Gemma 4 12B, among its workspace layers.

Fires on
Positions inside Python import lines and repeated identifiers, e.g. server_error, constant_op, ParsedRequest (the labeller was 50% sure)
Attends to
Earlier copies of the current token within code, especially after a newline in an import (the labeller was 60% sure)
Writes
Copies British-spelling nouns (neighbouring, colour, enquiries, euros) and suppresses short Latin word-endings (the labeller was 40% sure)

Where it fires: …import server_error[↵]from … return [server]_error(

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