Blogs / Why One Vector per Text Has Limits

Why One Vector per Text Has Limits

What a Hugging Face post says a dense embedding model returns, what has to fit inside that vector and what a query with several requirements runs into.

  • Learning
  • 1 min read

For: Learners who know what a text embedding is.

What a dense model returns

A dense embedding model reads a text and returns a single fixed-size vector.[1]

What has to fit in it

Everything the model noticed has to fit in those 384, 768, or 1024 numbers, and similarity is one dot product between two such summaries.[1]

A textread by a dense embeddingmodelA single fixed-sizevector384, 768 or 1024 numbersSimilarityone dot product between twosuch summariesbecomescompared by
What does a single vector have to hold?

The wall a query runs into

A query with several requirements at once runs into the same wall.[1]

Sources

  1. Multi-Vector Embedding Models with Sentence Transformers (huggingface.co · checked )

More articles