This model can be used to build embeddings databases with
txtai
for semantic search and/or as a knowledge source for retrieval augmented generation (RAG).
Note: txtai 9.0+ is required for late interaction model support
import txtai
embeddings = txtai.Embeddings(
sparse="neuml/colbert-muvera-nano",
content=True
)
embeddings.index(documents())
# Run a query
embeddings.search("query to run")
Late interaction models excel as reranker pipelines.
from txtai.pipeline import Reranker, Similarity
similarity = Similarity(path="neuml/colbert-muvera-nano", lateencode=True)
ranker = Reranker(embeddings, similarity)
ranker("query to run")
Usage (PyLate)
Alternatively, the model can be loaded with
PyLate
.
Note: The scores reported don't match scores reported in the respective papers due to different default settings in the txtai benchmark scripts.
As noted earlier, models trained with min-max score normalization don't perform well with MUVERA encoding. See this
GitHub Issue
for more.
This model packs a punch into 950K parameters. It's the same architecture as the 4M parameter model with the modified embeddings layer taking the parameter county down. It even beats the original ColBERT v2 model on a couple of the benchmarks.
Nano BEIR
Dataset:
NanoBEIR_mean
Evaluated with
pylate.evaluation.nano_beir_evaluator.NanoBEIREvaluator
@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"
}
PyLate
@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 NeuML colbert-muvera-nano on huggingface.co
21
Total runs
0
24-hour runs
10
3-day runs
13
7-day runs
-278
30-day runs
More Information About colbert-muvera-nano huggingface.co Model
colbert-muvera-nano huggingface.co is an AI model on huggingface.co that provides colbert-muvera-nano's model effect (), which can be used instantly with this NeuML colbert-muvera-nano model. huggingface.co supports a free trial of the colbert-muvera-nano model, and also provides paid use of the colbert-muvera-nano. Support call colbert-muvera-nano model through api, including Node.js, Python, http.
colbert-muvera-nano huggingface.co is an online trial and call api platform, which integrates colbert-muvera-nano's modeling effects, including api services, and provides a free online trial of colbert-muvera-nano, you can try colbert-muvera-nano online for free by clicking the link below.
NeuML colbert-muvera-nano online free url in huggingface.co:
colbert-muvera-nano is an open source model from GitHub that offers a free installation service, and any user can find colbert-muvera-nano on GitHub to install. At the same time, huggingface.co provides the effect of colbert-muvera-nano install, users can directly use colbert-muvera-nano installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
colbert-muvera-nano install url in huggingface.co: