Skip to content
IJK

MultiVectorEncoder: One Vector per Token in Sentence Transformers

By IJK ·

What the Sentence Transformers v6.0 post says MultiVectorEncoder adds, how it differs from a regular embedding model and how it scores a match.

What the library is

Sentence Transformers is a Python library for using and training embedding and reranker models for applications like retrieval augmented generation, semantic search, and more. [1]

What v6.0 adds

With the v6.0 update, it gains a fourth model type: MultiVectorEncoder, for ColBERT-style late interaction retrieval. [2]

How it differs and how a match is scored

Where a regular embedding model compresses a whole text into one vector, a multi-vector model keeps one vector per token and scores query against document with the MaxSim operator. [3]

contrasts withscored byA regular embedding modelcompresses a whole text into one vectorA multi-vector modelkeeps one vector per tokenMaxSim operatorscores query against document
How does a multi-vector model differ?

Sources

  1. The Hugging Face source says: Sentence Transformers is a Python library for using and training embedding and reranker models for applications like retrieval augmented generation, semantic search, and more. Multi-Vector Embedding Models with Sentence Transformers
  2. The Hugging Face source says: With the v6.0 update, it gains a fourth model type: MultiVectorEncoder, for ColBERT-style late interaction retrieval. Multi-Vector Embedding Models with Sentence Transformers
  3. The Hugging Face source says: Where a regular embedding model compresses a whole text into one vector, a multi-vector model keeps one vector per token and scores query against document with the MaxSim operator. Multi-Vector Embedding Models with Sentence Transformers

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • sentence transformers
  • retrieval
  • colbert
  • embeddings