This is a
PyLate
model finetuned from
bclavie/mini-base
on the
msmarco-en-bge-gemma-unnormalized
dataset. 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 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-small",
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-small", 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-small on huggingface.co
42
Total runs
0
24-hour runs
-1
3-day runs
0
7-day runs
0
30-day runs
More Information About colbert-muvera-small huggingface.co Model
colbert-muvera-small huggingface.co is an AI model on huggingface.co that provides colbert-muvera-small's model effect (), which can be used instantly with this NeuML colbert-muvera-small model. huggingface.co supports a free trial of the colbert-muvera-small model, and also provides paid use of the colbert-muvera-small. Support call colbert-muvera-small model through api, including Node.js, Python, http.
colbert-muvera-small huggingface.co is an online trial and call api platform, which integrates colbert-muvera-small's modeling effects, including api services, and provides a free online trial of colbert-muvera-small, you can try colbert-muvera-small online for free by clicking the link below.
NeuML colbert-muvera-small online free url in huggingface.co:
colbert-muvera-small is an open source model from GitHub that offers a free installation service, and any user can find colbert-muvera-small on GitHub to install. At the same time, huggingface.co provides the effect of colbert-muvera-small install, users can directly use colbert-muvera-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
colbert-muvera-small install url in huggingface.co: