L37·n6754: one-hot and vectorizer encoding code (one_hot, OneHotEncoder, Word2Vec)

Neuron 6754 of layer 37 (of 48) in Gemma 4 12B, among its motor layers: what a neuron writes often reads as the next word. Read here on its + side.

Fires on
one-hot and vectorizer encoding code (one_hot, OneHotEncoder, Word2Vec) (the labeller was 70% sure)
Makes the model say
embedding and vector nouns (embedding, 嵌入, vector) (the labeller was 80% sure)

Where it fires: …convert integers to dummy variables (i.e. [one] hot encoded)

Tokens it fires on hardest: _, import, ., one

Its − side: NLP text-processing code (nltk, stopwords, tokenizer, unicode)

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