Every piece gets a secret code
Computers love numbers.
So every piece gets its own list of numbers, like a secret code.
Words that mean similar things get similar codes.
That is how the computer can tell that a puppy is a bit like a kitten.
Make a code with the sliders, and see which words live nearby.
Your turn
Move the sliders. Who lives next to your word?
Toy calculation Recorded Qwen measurementChallenge: make a code that lives right next to the elephant
Our toy code has 3 numbers. A real model, Qwen, gives every piece 4,096 numbers! Here are the first 8 for the piece "The":
[-0.039, 0.016, -0.003, 0.022, -0.026, 0.019, 0.006, 0.042, … 4,088 more]
Every piece becomes a list of numbers, and similar words get similar lists.
Grown-up corner: the precise version
- secret code = embedding vector
Each token id selects one row of the embedding matrix: 151,936 rows of 4,096 numbers in Qwen3-8B. The rows are learned in training.
The three sliders are a toy. A real model's 4,096 numbers are not labelled "alive" or "big"; meaning is spread across many directions, and nobody chose them by hand.