Interactive LLM Demos
Demo 03

Embedding space

i
Embedding space

A map of numerical representations. Items used in similar ways are placed near each other, even when the original words differ.

Select a word to see which meanings live nearby in a tiny two-dimensional map.

Choose a word

Real embeddings use hundreds or thousands of dimensions. This fixed map compresses the idea into two.

Nearest neighbors
01queen14.2 units
02prince17.7 units
03princess25.5 units
Vector arithmetic
i
Vector arithmetic

Adding and subtracting embedding directions to represent relationships, such as moving from one concept toward another.

king − prince + princess

queen
calculated ≈ queenkingqueenprinceprincessapplepearorangecartruckbicycle
● Concepts cluster by useSelected: king