mozgi Prompt catalog →
← All news Tools

Hugging Face updated the Sentence Transformers library for multivector models

August 26, 2026
Hugging Face updated the Sentence Transformers library for multivector models

The team at Hugging Face introduced an updated toolkit for training and fine-tuning multi-vector models within the Sentence Transformers library. The update allows developers to create encoders that generate multiple vectors for a single input text, increasing the accuracy of search in complex semantic tasks.

The new functionality supports architectures using ColBERT and similar approaches for deep token matching. It has implemented support for training using Contrastive Loss and Multiple Negatives Ranking Loss, adapted for multi-vector output. Developers can use built-in methods for efficient vector compression, reducing memory consumption when indexing large data arrays.

The toolkit includes ready-to-use scripts for hyperparameter tuning, allowing for a reduction in training time by 25-30% when working with large datasets. It supports integration with Hugging Face Hub for versioning model weights and automatic configuration loading. The library now correctly handles long contexts by splitting them into segments for parallel processing.

Moving to multi-vector representations enables search systems to consider not only the overall meaning of a document but also specific details that are lost when using standard embeddings. This update simplifies the implementation of advanced ranking methods in search systems and RAG applications, ensuring compatibility with existing data processing pipelines.

mozgi.io — AI tools and prompts
Copied