L7·n4795: dollar sign and regex anchor $ in Python patterns

Neuron 4795 of layer 7 (of 36) in Qwen3-8B, 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
dollar sign and regex anchor $ in Python patterns (the labeller was 50% sure)
Makes the model say
double punctuation at line ends (??, !!, ~) followed by newlines (the labeller was 30% sure)

Where it fires: …import * urlpatterns = patterns('', (r'^[$]', '

Tokens it fires on hardest: $, }$, )$, ]+$, /$

Its + side: end-of-string or line-end tokens inside code (""" and closing brackets)

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