SABER-v0.1
(Saudi Arabic BERT Embeddings for Retrieval) is a state-of-the-art Saudi dialect semantic embedding model, fine-tuned from SA-BERT using
MultipleNegativesRankingLoss (MNLR)
and
Matryoshka Representation Learning
over a large, high-quality Saudi Triplet Dataset spanning 21 real-life Saudi domains.
SABER
transforms a standard Masked Language Model (MLM) into a powerful semantic encoder capable of capturing deep contextual meaning across Najdi, Hijazi, Gulf-influenced, and mixed Saudi dialectals.
The model achieves state-of-the-art results across both long-paragraph
STS
evaluation and triplet margin separation, significantly outperforming strong baselines such as ATM2, GATE, LaBSE, mE5-base, MarBERT, and MiniLM.
🏗️ Architecture & Build Pipeline
SABER utilizes a rigorous two-stage optimization pipeline: first, we adapted
MARBERT-V2
via Masked Language Modeling (MLM) on
500k Saudi sentences
to create the domain-specialized
SA-BERT
, followed by deep semantic optimization using
MultipleNegativesRankingLoss (MNRL)
and
Matryoshka Representation Learning
on curated triplets to produce the final state-of-the-art embedding model.
SABER is designed for:
Semantic search
Retrieval-Augmented Generation (RAG)
Clustering
Intent detection
Semantic similarity
Document & paragraph embedding
Ranking and re-ranking systems
Multi-domain Saudi-language applications
This release is v0.1 — the first public version of SABER.
📌 Model Details
Model Name:
SABER (Saudi Semantic Embedding)
Version:
v0.1
Base Model:
SA-BERT-V1 (AraBERT trained on Saudi data)
Saudi dialect NLP remains an underdeveloped space. Most embeddings struggle with dialectal variation, idiomatic expressions, and multi-sentence reasoning. SABER was designed to fill this gap by:
Training specifically on Saudi-dialect triplet data.
Leveraging modern contrastive learning.
Creating robust embeddings suitable for production and research.
This model is the result of extensive evaluation across STS, triplets, and domain-specific tests.
⚠️ Limitations
Regional Scope: Performance may degrade on Levantine, Egyptian, or Maghrebi dialects.
Scope: Embeddings focus on semantic similarity, not syntax or classification.
Input Length: Long multi-document retrieval requires chunking.
Commercial use of this model is
not permitted
under the CC BY-NC 4.0 license.
For commercial licensing, partnerships, or enterprise use, please contact:
If you use this model in academic work, please cite:
@inproceedings{nacar-saber-2025,
title = "SAUDI ARABIC EMBEDDING MODEL FOR SEMANTIC SIMILARITY AND RETRIEVAL",
author = "Nacar, Omer",
year = "2025",
url = "https://huggingface.co/Omartificial-Intelligence-Space/SA-STS-Embeddings-0.2B",
}
Sentence Transformers
@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 Omartificial-Intelligence-Space SA-STS-Embeddings-0.2B on huggingface.co
8
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
1
30-day runs
More Information About SA-STS-Embeddings-0.2B huggingface.co Model
SA-STS-Embeddings-0.2B huggingface.co is an AI model on huggingface.co that provides SA-STS-Embeddings-0.2B's model effect (), which can be used instantly with this Omartificial-Intelligence-Space SA-STS-Embeddings-0.2B model. huggingface.co supports a free trial of the SA-STS-Embeddings-0.2B model, and also provides paid use of the SA-STS-Embeddings-0.2B. Support call SA-STS-Embeddings-0.2B model through api, including Node.js, Python, http.
SA-STS-Embeddings-0.2B huggingface.co is an online trial and call api platform, which integrates SA-STS-Embeddings-0.2B's modeling effects, including api services, and provides a free online trial of SA-STS-Embeddings-0.2B, you can try SA-STS-Embeddings-0.2B online for free by clicking the link below.
Omartificial-Intelligence-Space SA-STS-Embeddings-0.2B online free url in huggingface.co:
SA-STS-Embeddings-0.2B is an open source model from GitHub that offers a free installation service, and any user can find SA-STS-Embeddings-0.2B on GitHub to install. At the same time, huggingface.co provides the effect of SA-STS-Embeddings-0.2B install, users can directly use SA-STS-Embeddings-0.2B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
SA-STS-Embeddings-0.2B install url in huggingface.co: