Skip to content
all lessons1.2●●○○○

Embeddings: meaning as coordinates

More dimensions = more nuance; an embedding is a learned coordinate list.

1Move the copied arrow onto king, same direction, same length.your turn
genderroyaltymanwomankingqueen

The same arrow that took man to woman. Drop its tail on king.

the idea Each word is just a list of coordinates, its position on this map, that list is its embedding.

See the coordinates
man
 0.28 0.26
woman
 0.62 0.26
king
 0.28 0.72

Invented numbers that show the idea, not measurements from a real model.

Here each word gets 2 numbers, so it fits on a flat map. Real models give each one 768 numbers in GPT-2 small , room for far more shades of meaning than a flat map.

Step 1 / 2

How does the machine actually measure 'nearness'?

1.3 Measuring meaning with one number