L22·n342: closing parentheses and brackets, especially before __file__ and ] in Python

Neuron 342 of layer 22 (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
closing parentheses and brackets, especially before __file__ and ] in Python (the labeller was 50% sure)
Makes the model say
closing brackets and quotes before a line break (】, "], */) (the labeller was 50% sure)

Where it fires: ….path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__[file]__)))))))

Tokens it fires on hardest: file, 0, 1, (y, (n

Its + side: backslash escapes and opening brackets in regex or LaTeX-like code

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