Stage 1 · Ages 8–12 · How it guesses

Similar Words Live Nearby

The computer places words in a neighborhood: puppy is closer to kitten than to pizza.

After chopping, the computer turns each token into a list of numbers. That list is an embedding — a way to put the piece on a map.

On that map, words used in similar ways sit near each other. Puppy and kitten are neighbors. Pizza is farther away. The map is not a picture of the real world. It is a picture of how language is used.

Embeddings: meaning as position in space
kingqueenprincedogcatpuppyapplebanana
royal
animal
fruit
Related meanings cluster together. This is a 2D cartoon of a high-dimensional space. The same geometry is used for token vectors inside a transformer and, separately, for whole-passage vectors in search — those are usually different models.

A tiny slice of the map. Neighbors share usage, not a friendship in real life.

All lessons in Stage 1: Explorer