← All models · Nomic

use case · basics

Basics: similarity as one number, and the prefix effect

An embedding turns text into a point in 768-dimensional space; two texts that mean similar things land close together. The first demo reads that closeness as a single cosine number. The second shows the thing that makes Nomic different from an ordinary encoder: the task prefix literally moves the sentence to a different point.

1 · How similar are two texts?

2 · The prefix effect — same sentence, different point

Nomic bakes the task into the text as a prefix, so one sentence has a different embedding under each prefix. Type a sentence and see how much the vector moves between prefixes — measured as the cosine similarity between the prefixed versions (1.00 would mean "no change").

← Back to Nomic · Next: Practical →