SentenceTransformer based on PlanTL-GOB-ES/roberta-base-bne
This is a
sentence-transformers
model finetuned from
PlanTL-GOB-ES/roberta-base-bne
. It maps sentences & paragraphs to a 768-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/sitges10242608-4ep-rerankv3-sp")
# Run inference
sentences = [
'Els establiments locals tenen un paper clau en el projecte de la targeta de fidelització, ja que són els que ofereixen descomptes i ofertes especials als consumidors que utilitzen la targeta.',
'Quin és el paper dels establiments locals en el projecte de la targeta de fidelització?',
"Quins són els tractaments que beneficien la salut de l'empleat municipal que s'inclouen en l'ajuda?",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Approximate statistics based on the first 1000 samples:
positive
anchor
type
string
string
details
min: 10 tokens
mean: 60.84 tokens
max: 206 tokens
min: 10 tokens
mean: 25.34 tokens
max: 53 tokens
Samples:
positive
anchor
L'objectiu principal de la persona coordinadora de colònia felina és garantir el benestar dels animals de la colònia.
Quin és l'objectiu principal de la persona coordinadora de colònia felina?
Es tracta d'una sala amb capacitat per a 125 persones, equipada amb un petit escenari, sistema de sonorització, pantalla per a projeccions, camerins i serveis higiènics (WC).
Quin és el nombre de persones que pot acollir la sala d'actes del Casal Municipal de la Gent Gran de Sitges?
Aquest ajut pretén fomentar l’associacionisme empresarial local, per tal de disposar d’agrupacions, gremis o associacions representatives de l’activitat empresarial del municipi.
@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 sitges10242608-4ep-rerankv3-sp on huggingface.co
8
Total runs
-2
24-hour runs
-3
3-day runs
-2
7-day runs
0
30-day runs
More Information About sitges10242608-4ep-rerankv3-sp huggingface.co Model
sitges10242608-4ep-rerankv3-sp huggingface.co
sitges10242608-4ep-rerankv3-sp huggingface.co is an AI model on huggingface.co that provides sitges10242608-4ep-rerankv3-sp's model effect (), which can be used instantly with this adriansanz sitges10242608-4ep-rerankv3-sp model. huggingface.co supports a free trial of the sitges10242608-4ep-rerankv3-sp model, and also provides paid use of the sitges10242608-4ep-rerankv3-sp. Support call sitges10242608-4ep-rerankv3-sp model through api, including Node.js, Python, http.
sitges10242608-4ep-rerankv3-sp huggingface.co is an online trial and call api platform, which integrates sitges10242608-4ep-rerankv3-sp's modeling effects, including api services, and provides a free online trial of sitges10242608-4ep-rerankv3-sp, you can try sitges10242608-4ep-rerankv3-sp online for free by clicking the link below.
adriansanz sitges10242608-4ep-rerankv3-sp online free url in huggingface.co:
sitges10242608-4ep-rerankv3-sp is an open source model from GitHub that offers a free installation service, and any user can find sitges10242608-4ep-rerankv3-sp on GitHub to install. At the same time, huggingface.co provides the effect of sitges10242608-4ep-rerankv3-sp install, users can directly use sitges10242608-4ep-rerankv3-sp installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
sitges10242608-4ep-rerankv3-sp install url in huggingface.co: