Higher dimensions can hold more information and often give slightly better quality, but cost more storage, memory and search time (a 1,536-dimension FP32 vector takes about 6 KB).
Matryoshka embeddings are trained so that the first k dimensions form a good embedding on their own; you can truncate vectors to 256 or 512 dimensions with a small quality loss, and rerank with the full vectors.
Choose dimensions by measuring recall on your own data against storage and latency budgets.
Loading…