L34·n3541: 'r' letter in code strings and regex escapes (\r, raw strings)

Neuron 3541 of layer 34 (of 36) in Qwen3-4B, among its motor layers: what a neuron writes often reads as the next word. Read here on its + side.

Fires on
'r' letter in code strings and regex escapes (\r, raw strings) (the labeller was 60% sure)
Makes the model say
word-final 'r' endings in names and abbreviations (Br, Pr, Tr) (the labeller was 25% sure)

Where it fires: …\\rbar\\nbaz\\t", "foo[\\]rbar\\

Tokens it fires on hardest: .compile, ', =, -

Its − side: 'radar'/'star' and 'ter'/'rad' word fragments

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