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-pico",
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-pico", 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.
At 450K parameters, this model does shockingly well! It's not too far off from the baseline 4M parameter model at 1/10th the size. It's also not too far off from the original ColBERT v2 model, which has 110M parameters.
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-pico on huggingface.co
10
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
-2
30-day runs
More Information About colbert-muvera-pico huggingface.co Model
colbert-muvera-pico huggingface.co is an AI model on huggingface.co that provides colbert-muvera-pico's model effect (), which can be used instantly with this NeuML colbert-muvera-pico model. huggingface.co supports a free trial of the colbert-muvera-pico model, and also provides paid use of the colbert-muvera-pico. Support call colbert-muvera-pico model through api, including Node.js, Python, http.
colbert-muvera-pico huggingface.co is an online trial and call api platform, which integrates colbert-muvera-pico's modeling effects, including api services, and provides a free online trial of colbert-muvera-pico, you can try colbert-muvera-pico online for free by clicking the link below.
NeuML colbert-muvera-pico online free url in huggingface.co:
colbert-muvera-pico is an open source model from GitHub that offers a free installation service, and any user can find colbert-muvera-pico on GitHub to install. At the same time, huggingface.co provides the effect of colbert-muvera-pico install, users can directly use colbert-muvera-pico installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
colbert-muvera-pico install url in huggingface.co: