L2·n8229: 'def' keyword at line start in Python code

Neuron 8229 of layer 2 (of 48) in Gemma 4 12B, among its association layers: what drives a neuron reads as a concept near the tokens it fires on, more than as those tokens. Read here on its − side.

Fires on
'def' keyword at line start in Python code (the labeller was 85% sure)
Makes the model say
Python code closers and format-string tokens (']);', '_'+', '}}{') (the labeller was 60% sure)

Where it fires: …<bos>[def] new_section

Tokens it fires on hardest: def, define, Prime

Its + side: 'Trans' word-start in prefixed compound words

Driven by

Drives

Labels by Claude Haiku 5.5. The explorer shows this neuron'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