This is a
sentence-transformers
model finetuned from
BAAI/bge-m3
on the json dataset. 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/sqv-v3")
# Run inference
sentences = [
"Permet sol·licitar l’autorització per a l’ús comú especial de la via pública per a reserves temporals d’estacionament i espai públic per: càrrega/descàrrega de materials diversos davant d'una obra;",
"Quins són els materials que es poden càrregar/descarregar en l'ocupació i reserves temporals amb càrrega/descàrrega de materials?",
'Quin és el tràmit per canviar el domicili del permís de conducció i del permís de circulació?',
]
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]
Approximate statistics based on the first 828 samples:
positive
anchor
type
string
string
details
min: 5 tokens
mean: 41.95 tokens
max: 117 tokens
min: 9 tokens
mean: 20.81 tokens
max: 50 tokens
Samples:
positive
anchor
Consultar l'estat tributari d'un contribuent. Us permet consultar l'estat dels rebuts i liquidacions que estan a nom del contribuent titular d'un certificat electrònic, així com els elements que configuren el càlcul per determinar el deute tributari de cadascun d'ells.
Com puc consultar l'estat tributari d'un contribuent?
L'informe facultatiu servirà per tramitar una autorització de residència temporal per arrelament social.
Quin és el tràmit relacionat amb la residència a l'Ajuntament?
Aquesta targeta, és el document que dona dret a persones físiques o jurídiques titulars de vehicles adaptats destinats al transport col·lectiu de persones amb discapacitat...
Quin és el benefici de tenir la targeta d'aparcament de transport col·lectiu per a les persones amb discapacitat?
@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 sqv-v3 on huggingface.co
16
Total runs
0
24-hour runs
1
3-day runs
-2
7-day runs
-20
30-day runs
More Information About sqv-v3 huggingface.co Model
sqv-v3 huggingface.co
sqv-v3 huggingface.co is an AI model on huggingface.co that provides sqv-v3's model effect (), which can be used instantly with this adriansanz sqv-v3 model. huggingface.co supports a free trial of the sqv-v3 model, and also provides paid use of the sqv-v3. Support call sqv-v3 model through api, including Node.js, Python, http.
sqv-v3 huggingface.co is an online trial and call api platform, which integrates sqv-v3's modeling effects, including api services, and provides a free online trial of sqv-v3, you can try sqv-v3 online for free by clicking the link below.
adriansanz sqv-v3 online free url in huggingface.co:
sqv-v3 is an open source model from GitHub that offers a free installation service, and any user can find sqv-v3 on GitHub to install. At the same time, huggingface.co provides the effect of sqv-v3 install, users can directly use sqv-v3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.