Cosine Similarity

Drag the vectors to explore how angle — not magnitude — determines similarity in embedding space.

Drag the colored endpoints to move vectors. Scroll to zoom.

Similarity

−1 (opposite)0 (orthogonal)+1 (identical)

Vectors

word A
word B

Presets (word pairs)