L2·n7354: 'nan' and 'isnan' inside Python math imports and NaN checks

Neuron 7354 of layer 2 (of 36) in Qwen3-4B, among its sensory layers: neurons respond to the literal input token. Read here on its + side.

Fires on
'nan' and 'isnan' inside Python math imports and NaN checks (the labeller was 80% sure)
Makes the model say
closing quotes and brackets before line breaks (?"⏎⏎, ]⏎⏎) (the labeller was 40% sure)

Where it fires: …import UUID from math import isn[an], isinf

Tokens it fires on hardest: an, ans, nan, _nan, NaN

Its − side: 'Pennant' and 'penn' word starts in sports and place names

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