L13·n13146: 'replace' method calls in code and string substitution

Neuron 13146 of layer 13 (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
'replace' method calls in code and string substitution (the labeller was 80% sure)
Makes the model say
replacement and substitution words (replace, 替换, 更换) (the labeller was 85% sure)

Where it fires: …def simpleEscapeJS(str): return str.[replace]('\\', '\\

Tokens it fires on hardest: replace, Replace, replaceAll

Its − side: ellipses and Buddhist or introspective terms (dharma, bhakti, introspection)

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