Embedding models
For engineers
Choosing, testing and maintaining the embedding model that turns chunks and queries into vectors
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A team's longest chunks are 900 tokens. Which model property can silently damage retrieval?
Check yourself · 2 of 5
What does recall@5 measure in an embedding test?
Check yourself · 3 of 5
Roughly how big is a float32 index of 2,000,000 vectors with 768 dimensions?
Check yourself · 4 of 5
Why can a vector from model A not be searched with a query vector from model B?
Check yourself · 5 of 5
An E5-style model expects a query prefix and a passage prefix. What happens if queries are sent with no prefix?
Topics
- Choosing an embedding model5 min read · Hosted versus open-weight models, language and domain coverage, context length, licence, price and how to read leaderboards such as MTEB with care
- Testing embeddings on your own queries6 min read · A small labelled set of real questions and their correct passages, scored with recall and MRR to compare models before committing
- Dimensions, precision and storage cost5 min read · Vector size, Matryoshka truncation, int8 and binary quantization, and their effect on memory, speed and recall
- Re-embedding when the model changes5 min read · Why vectors from different models never mix, versioned indexes, backfills, dual-writing and cut-over without downtime
- Query and document embedding asymmetry5 min read · Instruction prefixes, separate query and passage modes, and why short questions and long passages need matching treatment
Start here
- MTEB embedding leaderboard (opens in a new tab)ToolFree
Compare embedding models per task and language, and filter to the tasks that resemble your corpus.
- Sentence Transformers documentation (opens in a new tab)DocsFree
Reference for loading open-weight embedding models, encode_query and encode_document, and truncation.
- Matryoshka Representation Learning (opens in a new tab)PaperFree
The paper behind truncatable vectors: why the first dimensions of some embeddings carry most of the signal.
Helps to know first
110 questions · last verified 2026-12