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]
Sources
- 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
- 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
- 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