EN
Sign in Publish

What is an embedding model?

What is it?

An embedding model turns a text into a list of numbers (a vector). Texts with similar meaning give close vectors: it is the basis of semantic search and RAG.

When to use it

  • Pick the model of a RAG by language, document size and score.
  • Find the right settings: prefixes, distance, chunk size.

Page fields

ModelHugging Face identifier or API name.
DimensionsSize of the vector.
Max tokensMaximum length of a text.
DistanceCosine, dot product or Euclidean.
PrefixesText to put before queries and passages, if the model needs it.
BenchmarksPublished scores, e.g. MTEB.

How to use it

The Python example loads the model with sentence-transformers and applies the right prefixes.

Browse Embeddings →