REPRESENTATIONS · SIMILARITY · SEARCH

Embeddings,
explained.

From a list of numbers to a useful neighbor. Five short chapters, one small map you can change.

Start reading →
Query and passage vectorsHand-authored vectors A through E. Query [1.638, 1.147], direction 35 degrees, length 2. E ranks first at 0.999. Scoring rule: cosine. The geometry lab in chapter 3 explains the scores.0112233x₁x₂ABCDEq35° · length 2.0

A hand-authored map. The chapters explain what its geometry can—and cannot—tell you.

Start with basic ML and arithmetic. We will introduce vectors, norms and similarity as we need them. No model download, paid API, or prior linear-algebra course required.