← Hub
Embeddings02 / 08 · Beginner

Module 02 · Beginner · ~10 min

Embeddings — how AI represents meaning

Explore a 2D semantic map and do vector arithmetic on words.

Loading module…

Common questions this module answers

What is an embedding in machine learning?

An embedding is a list of numbers — a vector, typically 256 to 4096 dimensions — that represents the meaning of text. Texts with similar meanings get vectors that point in similar directions, so similarity becomes measurable geometry.

What is cosine similarity?

Cosine similarity measures the angle between two vectors: 1.0 means they point the same way (very similar meaning), 0 means unrelated. It is the standard way to compare embeddings in semantic search and RAG.

Why does king − man + woman ≈ queen work?

Embedding spaces learn consistent directions for concepts like gender or royalty from co-occurrence patterns in text, so adding and subtracting vectors moves you along those concept directions.