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/sqv2")
# Run inference
sentences = [
'La presentació de la sol·licitud no dona dret al muntatge de la parada.',
'Quin és el requisit per a la presentació de la sol·licitud d’autorització?',
'Quin és el motiu per canviar la persona titular dels drets funeraris?',
]
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 1000 samples:
positive
anchor
type
string
string
details
min: 6 tokens
mean: 42.03 tokens
max: 106 tokens
min: 10 tokens
mean: 20.32 tokens
max: 54 tokens
Samples:
positive
anchor
Aquest tràmit us permet compensar deutes de naturalesa pública a favor de l'Ajuntament, sigui quin sigui el seu estat (voluntari/executiu), amb crèdits reconeguts per aquest a favor del mateix deutor, i que el seu estat sigui pendent de pagament.
Quin és el benefici de la compensació de deutes amb crèdits?
El seu objecte és que -prèviament a la seva execució material- l'Ajuntament comprovi l'adequació de l’actuació a la normativa i planejament, així com a les ordenances municipals sobre l’ús del sòl i edificació.
Quin és el paper de les ordenances municipals en aquest tràmit?
Comunicació prèvia del manteniment en espais, zones o instal·lacions comunitàries interiors dels edificis (reparació i/o millora de materials).
Quin és el límit del manteniment en espais comunitaris interiors dels edificis?
@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 sqv2 on huggingface.co
85
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About sqv2 huggingface.co Model
sqv2 huggingface.co
sqv2 huggingface.co is an AI model on huggingface.co that provides sqv2's model effect (), which can be used instantly with this adriansanz sqv2 model. huggingface.co supports a free trial of the sqv2 model, and also provides paid use of the sqv2. Support call sqv2 model through api, including Node.js, Python, http.
sqv2 huggingface.co is an online trial and call api platform, which integrates sqv2's modeling effects, including api services, and provides a free online trial of sqv2, you can try sqv2 online for free by clicking the link below.
adriansanz sqv2 online free url in huggingface.co:
sqv2 is an open source model from GitHub that offers a free installation service, and any user can find sqv2 on GitHub to install. At the same time, huggingface.co provides the effect of sqv2 install, users can directly use sqv2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.