The crispy, lightweight ColBERT family from
Mixedbread
.
🍞 Looking for a simple end-to-end retrieval solution? Meet
Mixedbread Search
, our multi-modal and multi-lingual search solution.
mxbai-edge-colbert-v0-17m
This model is a lightweight, 17 million parameter ColBERT with a projection dimension of 48. It is built on top of
Ettin-17M
, meaning it benefits from all of ModernBERT's architectural efficiencies. Despite this extreme efficiency, it is the best-performer "edge-sized" retriever, outperforming ColBERTv2 and many models with over 10 times more parameters. It can create multi-vector representations for documents of up to 32,000 tokens and is fully compatible with the
PyLate
library.
Usage
To use this model, you first need to install PyLate:
Once installed, the model is immediately ready to use to generate representations and index documents:
from pylate import indexes, models, retrieve
# Step 1: Load the model
model = models.ColBERT(
model_name_or_path="mixedbread-ai/mxbai-edge-colbert-v0-17m",
)
# Step 2: Initialize an index (here, PLAID, for larger document collections)
index = indexes.PLAID(
index_folder="pylate-index",
index_name="index",
override=True, # This overwrites the existing index if any
)
# Step 3: Encode your 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,
)
That's all you need to do to encode a full collection! Your documents are indexed and ready to be queried:
# Step 5.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
)
Reranking
Thanks to its extreme parameter efficiency, this model is particularly well-suited to being used as a re-ranker following an even more lightweight first stage retrieval, such as static embeding models. Re-ranking is just as straigthforward:
For more details on evaluations, please read our
Tech Report
.
Community
Please join our
Discord Community
and share your feedback and thoughts! We are here to help and also always happy to chat.
License
Apache 2.0
Citation
If you use our model, please cite the associated tech report:
Coming soon!
If you specifically use its projection heads, or discuss their effect, please cite our report on using different projections for ColBERT models:
@misc{clavie2025simpleprojectionvariantsimprove,
title={Simple Projection Variants Improve ColBERT Performance},
author={Benjamin Clavié and Sean Lee and Rikiya Takehi and Aamir Shakir and Makoto P. Kato},
year={2025},
eprint={2510.12327},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2510.12327},
}
Finally, if you use PyLate in your work, please cite PyLate itself:
@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}
}
Runs of mixedbread-ai mxbai-edge-colbert-v0-17m on huggingface.co
3.5K
Total runs
30
24-hour runs
-16
3-day runs
-119
7-day runs
872
30-day runs
More Information About mxbai-edge-colbert-v0-17m huggingface.co Model
More mxbai-edge-colbert-v0-17m license Visit here:
mxbai-edge-colbert-v0-17m huggingface.co is an AI model on huggingface.co that provides mxbai-edge-colbert-v0-17m's model effect (), which can be used instantly with this mixedbread-ai mxbai-edge-colbert-v0-17m model. huggingface.co supports a free trial of the mxbai-edge-colbert-v0-17m model, and also provides paid use of the mxbai-edge-colbert-v0-17m. Support call mxbai-edge-colbert-v0-17m model through api, including Node.js, Python, http.
mxbai-edge-colbert-v0-17m huggingface.co is an online trial and call api platform, which integrates mxbai-edge-colbert-v0-17m's modeling effects, including api services, and provides a free online trial of mxbai-edge-colbert-v0-17m, you can try mxbai-edge-colbert-v0-17m online for free by clicking the link below.
mixedbread-ai mxbai-edge-colbert-v0-17m online free url in huggingface.co:
mxbai-edge-colbert-v0-17m is an open source model from GitHub that offers a free installation service, and any user can find mxbai-edge-colbert-v0-17m on GitHub to install. At the same time, huggingface.co provides the effect of mxbai-edge-colbert-v0-17m install, users can directly use mxbai-edge-colbert-v0-17m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mxbai-edge-colbert-v0-17m install url in huggingface.co: