from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("Omartificial-Intelligence-Space/AraEuroBert-2.1B")
# Run inference
sentences = [
'لاعبة كرة ناعمة ترمي الكرة إلى زميلتها في الفريق',
'شخصان يلعبان كرة البيسبول',
'لاعبين لكرة البيسبول يجلسان على مقعد',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1152]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Citation
If you use this model in your research, please cite the following works:
@misc{boizard2025eurobertscalingmultilingualencoders,
title={EuroBERT: Scaling Multilingual Encoders for European Languages},
author={Nicolas Boizard and Hippolyte Gisserot-Boukhlef and Duarte M. Alves and André Martins and Ayoub Hammal and Caio Corro and Céline Hudelot and Emmanuel Malherbe and Etienne Malaboeuf and Fanny Jourdan and Gabriel Hautreux and João Alves and Kevin El-Haddad and Manuel Faysse and Maxime Peyrard and Nuno M. Guerreiro and Patrick Fernandes and Ricardo Rei and Pierre Colombo},
year={2025},
eprint={2503.05500},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2503.05500},
}
@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",
}
@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}
}
Runs of Omartificial-Intelligence-Space AraEuroBert-2.1B on huggingface.co
2
Total runs
0
24-hour runs
-1
3-day runs
-1
7-day runs
1
30-day runs
More Information About AraEuroBert-2.1B huggingface.co Model
AraEuroBert-2.1B huggingface.co is an AI model on huggingface.co that provides AraEuroBert-2.1B's model effect (), which can be used instantly with this Omartificial-Intelligence-Space AraEuroBert-2.1B model. huggingface.co supports a free trial of the AraEuroBert-2.1B model, and also provides paid use of the AraEuroBert-2.1B. Support call AraEuroBert-2.1B model through api, including Node.js, Python, http.
AraEuroBert-2.1B huggingface.co is an online trial and call api platform, which integrates AraEuroBert-2.1B's modeling effects, including api services, and provides a free online trial of AraEuroBert-2.1B, you can try AraEuroBert-2.1B online for free by clicking the link below.
Omartificial-Intelligence-Space AraEuroBert-2.1B online free url in huggingface.co:
AraEuroBert-2.1B is an open source model from GitHub that offers a free installation service, and any user can find AraEuroBert-2.1B on GitHub to install. At the same time, huggingface.co provides the effect of AraEuroBert-2.1B install, users can directly use AraEuroBert-2.1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.