Downloads · 30 days
268
9% of all-time downloads
VAGOsolutions/SauerkrautLM-Multi-ModernColBERT
SauerkrautLM-Multi-ModernColBERT is a sentence similarity model from VAGOsolutions. Use it when you need a score for how close two texts are. It is set up for PyLate. The card lists the license as apache-2.0.
<img src="https://vago-solutions.ai/wp-content/uploads/2025/08/SauerkrautLM-Multi-ModernColBERT.png" width="500" height="auto"
Downloads · 30 days
268
9% of all-time downloads
All-time downloads
2.9K
Public
Parameters
149M
298 MB on disk
Likes
12
Public
Click a slice to open those files.
.safetensors298 MB · 99%
From the Hugging Face model README
This model is a multilingual Late Interaction retriever that leverages:
Continuous Pretraining with 4.6 billion multilingual tokens using knowledge distillation from state-of-the-art reranker models. GTE-ModernColBERT Foundation building upon the English-focused lightonai/GTE-ModernColBERT-v1 model. Multilingual Enhancement extending English capabilities to European languages through targeted multilingual training.
Multilingual Continuous Pretraining: Enhanced with 4,641,714,000 multilingual tokens covering 7 European languages while learning from powerful reranker models
English-to-Multilingual Transfer: Successfully extends the strong English performance of GTE-ModernColBERT to European languages
Compressed Architecture: Maintains the efficient 149M parameter design of ModernColBERT
Starting from the strong GTE-ModernColBERT-v1 foundation – a model optimized for English retrieval – we've expanded its capabilities through:
This creates a truly multilingual retriever that maintains exceptional English performance while delivering strong results across European languages.
Model: VAGOsolutions/SauerkrautLM-Multi-ModernColBERT
Base: Continuous pretrained from lightonai/GTE-ModernColBERT-v1 using knowledge distillation
Architecture: PyLate / ColBERT (Late Interaction) with ModernBERT backbone
Languages: Multilingual (optimized for 7 European languages: German, English, Spanish, French, Italian, Dutch, Portuguese)
License: Apache 2.0
Model Size: 149M parameters
Additional Training: 4.6B multilingual tokens via knowledge distillation
ColBERT(
(0): Transformer(CompressedModernBertModel)
(1): Dense(384 -> 128 dim, no bias)
)
Our approach transforms an English-specialized model into a multilingual powerhouse:
SauerkrautLM-Multi-ModernColBERT leverages:
This architecture combines the efficiency of ModernColBERT with true multilingual capabilities.
Our evaluation demonstrates strong multilingual retrieval performance, successfully extending GTE-ModernColBERT's English excellence to European languages.
Average nDCG@10 across seven European languages, showing the effectiveness of our multilingual continuous pretraining:
| Language | nDCG@10 | Performance Notes |
|---|---|---|
| en | 67.70 | Maintains exceptional English performance from base model |
| de | 51.21 | Strong german language transfer |
| es | 54.73 | Excellent spanish language capabilities |
| fr | 54.44 | Consistent cross-lingual performance |
| it | 53.87 | Balanced multilingual representation |
| nl | 52.15 | Effective on closely related languages |
| pt | 53.80 | Maintains quality across language families |
Key Observations:
This model serves as an excellent solution for:
The combination of strong English foundation and multilingual capabilities enables:
SauerkrautLM-Multi-ModernColBERT demonstrates how continuous pretraining can successfully extend an English-specialized model to multiple languages. By combining:
We've created a model that excels in English (67.70 nDCG@10) while delivering strong performance across all European languages. This makes it an ideal choice for organizations that need both exceptional English retrieval and comprehensive multilingual support in a single, efficient model.
This is a multi-vector (ColBERT-style late interaction) embedding model. It maps sentences & paragraphs to sequences of 128-dimensional dense vectors and can be used for semantic textual similarity using the MaxSim operator.
This model can be used with Sentence Transformers as a multi-vector (ColBERT-style late interaction) retriever via the MultiVectorEncoder:
pip install "sentence-transformers>=6.0.0"
from sentence_transformers import MultiVectorEncoder
model = MultiVectorEncoder("VAGOsolutions/SauerkrautLM-Multi-ModernColBERT")
query = "Welcher Planet ist als der Rote Planet bekannt?"
documents = [
"Venus wird wegen ihrer ähnlichen Größe und Nähe oft als Erdzwilling bezeichnet.",
"Mars, bekannt für sein rötliches Aussehen, wird oft als der Rote Planet bezeichnet.",
"Jupiter, der größte Planet in unserem Sonnensystem, hat einen markanten roten Fleck.",
"Saturn, berühmt für seine Ringe, wird manchmal für den Roten Planeten gehalten.",
]
query_embeddings = model.encode_query(query)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings[0].shape)
# (32, 128) (29, 128)
# MaxSim late-interaction scoring (higher is more relevant)
scores = model.similarity(query_embeddings, document_embeddings)
print(scores)
# tensor([[28.7305, 29.5820, 29.0117, 29.1172]])
First install the PyLate library:
pip install -U pylate
PyLate provides a streamlined interface to index and retrieve documents using ColBERT models. The index leverages the Voyager HNSW index to efficiently handle document embeddings and enable fast retrieval.
First, load the ColBERT model and initialize the Voyager index, then encode and index your documents:
from pylate import indexes, models, retrieve
# Step 1: Load the ColBERT model
model = models.ColBERT(
model_name_or_path="VAGOsolutions/SauerkrautLM-Multi-ModernColBERT",
)
# Step 2: Initialize the Voyager index
index = indexes.Voyager(
index_folder="pylate-index",
index_name="index",
override=True, # This overwrites the existing index if any
)
# Step 3: Encode the documents
documents_ids = ["1", "2", "3"]
documents = ["document 1 text", "document 2 text", "document 3 text"]
documents_embeddings = model.encode(
documents,
batch_size=32,
is_query=False, # Ensure that it is set to False to indicate that these are documents, not queries
show_progress_bar=True,
)
# Step 4: Add document embeddings to the index by providing embeddings and corresponding ids
index.add_documents(
documents_ids=documents_ids,
documents_embeddings=documents_embeddings,
)
Note that you do not have to recreate the index and encode the documents every time. Once you have created an index and added the documents, you can re-use the index later by loading it:
# To load an index, simply instantiate it with the correct folder/name and without overriding it
index = indexes.Voyager(
index_folder="pylate-index",
index_name="index",
)
Once the documents are indexed, you can retrieve the top-k most relevant documents for a given set of queries. To do so, initialize the ColBERT retriever with the index you want to search in, encode the queries and then retrieve the top-k documents to get the top matches ids and relevance scores:
# Step 1: Initialize the ColBERT retriever
retriever = retrieve.ColBERT(index=index)
# Step 2: Encode the queries
queries_embeddings = model.encode(
["query for document 3", "query for document 1"],
batch_size=32,
is_query=True, # # Ensure that it is set to False to indicate that these are queries
show_progress_bar=True,
)
# Step 3: Retrieve top-k documents
scores = retriever.retrieve(
queries_embeddings=queries_embeddings,
k=10, # Retrieve the top 10 matches for each query
)
If you only want to use the ColBERT model to perform reranking on top of your first-stage retrieval pipeline without building an index, you can simply use rank function and pass the queries and documents to rerank:
from pylate import rank, models
queries = [
"query A",
"query B",
]
documents = [
["document A", "document B"],
["document 1", "document C", "document B"],
]
documents_ids = [
[1, 2],
[1, 3, 2],
]
model = models.ColBERT(
model_name_or_path="VAGOsolutions/SauerkrautLM-Multi-ModernColBERT",
)
queries_embeddings = model.encode(
queries,
is_query=True,
)
documents_embeddings = model.encode(
documents,
is_query=False,
)
reranked_documents = rank.rerank(
documents_ids=documents_ids,
queries_embeddings=queries_embeddings,
documents_embeddings=documents_embeddings,
)
@misc{SauerkrautLM-Multi-ModernColBERT,
title={SauerkrautLM-Multi-ModernColBERT},
author={David Golchinfar},
url={https://huggingface.co/VAGOsolutions/SauerkrautLM-Multi-ModernColBERT},
year={2025}
}
@misc{GTE-ModernColBERT,
title={GTE-ModernColBERT},
author={Chaffin, Antoine},
url={https://huggingface.co/lightonai/GTE-ModernColBERT-v1},
year={2025}
}
@inproceedings{reimers-2019-sentence-bert,
title = {Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks},
author = {Reimers, Nils and Gurevych, Iryna},
booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing},
month = {11},
year = {2019},
publisher = {Association for Computational Linguistics},
url = {https://arxiv.org/abs/1908.10084}
}
@misc{PyLate,
title={PyLate: Flexible Training and Retrieval for Late Interaction Models},
author={Chaffin, Antoine and Sourty, Raphaël},
url={https://github.com/lightonai/pylate},
year={2024}
}
We thank the PyLate team for providing the training framework that made this work possible, and the LightOn AI team for creating the excellent GTE-ModernColBERT base model.
<!-- ## Glossary *Clearly define terms in order to be accessible across audiences.* --> <!-- ## Model Card Authors *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.* --> <!-- ## Model Card Contact *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.* -->