This is a
sentence-transformers
model finetuned from
aubmindlab/bert-base-arabertv02
. 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("sentence_transformers_model_id")
# Run inference
sentences = [
'في أي مدينة تقع الحديقة الوطنية الجليدية',
'الحديقة الجليدية الوطنية هي حديقة وطنية تقع في ولاية مونتانا الأمريكية ، على الحدود الكندية للولايات المتحدة مع المقاطعات الكندية في ألبرتا وكولومبيا البريطانية. حرائق الغابات الكبيرة غير شائعة في المنتزه. ومع ذلك ، في عام 2003 تم حرق أكثر من 13٪ من المتنزه. حديقة جلاسير الوطنية تقع على حدود متنزه ووترتون ليكس الوطني في كندا - يُعرف المنتزهان باسم منتزه واترتون-جلاسير الدولي للسلام وتم تصنيفهما كأول منتزه سلام دولي في العالم في عام 1932.',
'تصوير: ايرين كونويل - رويترز. 1 بواسطة Alex Dobuzinskis. (2 رويترز) - قال مسؤولون إن حريقًا هائلًا في منتزه مونتانا الجليدي الوطني اندلع لليوم الرابع من خلال الأخشاب الثقيلة يوم الجمعة خلال ذروة موسم الزائرين ، بينما اجتاح حريق آخر في شمال كاليفورنيا الجبال فوق منطقة نبيذ وادي نابا.',
]
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]
@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",
}
Matryoshka2dLoss
@misc{li20242d,
title={2D Matryoshka Sentence Embeddings},
author={Xianming Li and Zongxi Li and Jing Li and Haoran Xie and Qing Li},
year={2024},
eprint={2402.14776},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
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 akhooli sbert_ar_nli_500k_p100 on huggingface.co
20
Total runs
2
24-hour runs
4
3-day runs
5
7-day runs
-40
30-day runs
More Information About sbert_ar_nli_500k_p100 huggingface.co Model
sbert_ar_nli_500k_p100 huggingface.co is an AI model on huggingface.co that provides sbert_ar_nli_500k_p100's model effect (), which can be used instantly with this akhooli sbert_ar_nli_500k_p100 model. huggingface.co supports a free trial of the sbert_ar_nli_500k_p100 model, and also provides paid use of the sbert_ar_nli_500k_p100. Support call sbert_ar_nli_500k_p100 model through api, including Node.js, Python, http.
sbert_ar_nli_500k_p100 huggingface.co is an online trial and call api platform, which integrates sbert_ar_nli_500k_p100's modeling effects, including api services, and provides a free online trial of sbert_ar_nli_500k_p100, you can try sbert_ar_nli_500k_p100 online for free by clicking the link below.
akhooli sbert_ar_nli_500k_p100 online free url in huggingface.co:
sbert_ar_nli_500k_p100 is an open source model from GitHub that offers a free installation service, and any user can find sbert_ar_nli_500k_p100 on GitHub to install. At the same time, huggingface.co provides the effect of sbert_ar_nli_500k_p100 install, users can directly use sbert_ar_nli_500k_p100 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
sbert_ar_nli_500k_p100 install url in huggingface.co: