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-micro",
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-micro", lateencode=True)
ranker = Reranker(embeddings, similarity)
ranker("query to run")
Usage (PyLate)
Alternatively, the model can be loaded with
PyLate
.
@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-micro on huggingface.co
87
Total runs
0
24-hour runs
-3
3-day runs
26
7-day runs
26
30-day runs
More Information About colbert-muvera-micro huggingface.co Model
colbert-muvera-micro huggingface.co is an AI model on huggingface.co that provides colbert-muvera-micro's model effect (), which can be used instantly with this NeuML colbert-muvera-micro model. huggingface.co supports a free trial of the colbert-muvera-micro model, and also provides paid use of the colbert-muvera-micro. Support call colbert-muvera-micro model through api, including Node.js, Python, http.
colbert-muvera-micro huggingface.co is an online trial and call api platform, which integrates colbert-muvera-micro's modeling effects, including api services, and provides a free online trial of colbert-muvera-micro, you can try colbert-muvera-micro online for free by clicking the link below.
NeuML colbert-muvera-micro online free url in huggingface.co:
colbert-muvera-micro is an open source model from GitHub that offers a free installation service, and any user can find colbert-muvera-micro on GitHub to install. At the same time, huggingface.co provides the effect of colbert-muvera-micro install, users can directly use colbert-muvera-micro installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
colbert-muvera-micro install url in huggingface.co: