Skip to content
See How AI Works
all lessons1.1●○○○○

Turning words into numbers

To do math on meaning, turn each word into a position: a vector.

1On the scrambled map, tap the word you'd put next to cat: dog or car? Gut call.your turn
kitten
cat
puppy
horse
bicycle
boat
bus
truck

cat is fixed. Tap dog or car to place it as cat's neighbour.

continue backR replay

But a flat map can't separate every nuance… we need more dimensions.

1.2 Embeddings: meaning as coordinates
Representation·

Common questions

What is "Turning words into numbers" about?
To do math on meaning, turn each word into a position: a vector.
What problem does it solve?
Is 'cat' more like 'dog' or like 'car'? With only letters, you can't compute it.
What will I be able to do after this lesson?
You can explain why words must become vectors for a machine to compare meaning.
What comes next?
But a flat map can't separate every nuance… we need more dimensions.