This is a
sentence-transformers
model finetuned from
BAAI/bge-m3
. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("adriansanz/sitgrsBAAIbge-m3-300824v2")
# Run inference
sentences = [
"Els comerciants locals han de sol·licitar els ajuts per al projecte de la targeta de fidelització dins del termini establert per l'Ajuntament de Sitges.",
'Quin és el termini perquè els comerciants locals puguin sol·licitar els ajuts per al projecte de la targeta de fidelització?',
'Quin és el paper de la persona cuidadora en la gestió de les emergències en la colònia felina?',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
@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",
}
MatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of adriansanz sitgrsBAAIbge-m3-300824v2 on huggingface.co
12
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
-7
30-day runs
More Information About sitgrsBAAIbge-m3-300824v2 huggingface.co Model
sitgrsBAAIbge-m3-300824v2 huggingface.co
sitgrsBAAIbge-m3-300824v2 huggingface.co is an AI model on huggingface.co that provides sitgrsBAAIbge-m3-300824v2's model effect (), which can be used instantly with this adriansanz sitgrsBAAIbge-m3-300824v2 model. huggingface.co supports a free trial of the sitgrsBAAIbge-m3-300824v2 model, and also provides paid use of the sitgrsBAAIbge-m3-300824v2. Support call sitgrsBAAIbge-m3-300824v2 model through api, including Node.js, Python, http.
sitgrsBAAIbge-m3-300824v2 huggingface.co is an online trial and call api platform, which integrates sitgrsBAAIbge-m3-300824v2's modeling effects, including api services, and provides a free online trial of sitgrsBAAIbge-m3-300824v2, you can try sitgrsBAAIbge-m3-300824v2 online for free by clicking the link below.
adriansanz sitgrsBAAIbge-m3-300824v2 online free url in huggingface.co:
sitgrsBAAIbge-m3-300824v2 is an open source model from GitHub that offers a free installation service, and any user can find sitgrsBAAIbge-m3-300824v2 on GitHub to install. At the same time, huggingface.co provides the effect of sitgrsBAAIbge-m3-300824v2 install, users can directly use sitgrsBAAIbge-m3-300824v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
sitgrsBAAIbge-m3-300824v2 install url in huggingface.co: