← All models · GTE-large

Basics · feature-extraction · WASM

Do two lines mean the same thing?

The atom of every embedding app: embed two sentences into 1024-number vectors, then measure the angle between them. Cosine near 1.00 means "same direction in meaning space", near 0 means unrelated. Type a pair (or pick one), and GTE-large gives you a single number — with GTE-small's take on the same pair right beside it.

Two sentences, one cosine

What just happened

Each sentence became a unit-length 1024-d vector (mask-aware mean pooling, then L2-normalize — no instruction prefix). Cosine similarity is then just the dot product of the two vectors. Because GTE-large has more parameters and dimensions than GTE-small, it tends to push genuinely-synonymous pairs higher and unrelated ones lower — a wider, more decisive gap. The absolute numbers differ between the two models, so compare the SHAPE, not the digits.