Fill-Mask
Transformers
Safetensors
PyTorch
Arabic
bert
arabic
maghrebi-arabic
darija
arabizi
code-switching
algeria
morocco
tunisia
libya
masked-language-modeling
Instructions to use NumidiaNLP/MagharibiBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NumidiaNLP/MagharibiBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="NumidiaNLP/MagharibiBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("NumidiaNLP/MagharibiBERT") model = AutoModelForMaskedLM.from_pretrained("NumidiaNLP/MagharibiBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -167,17 +167,46 @@ languages or all Maghrebi speakers equally.
|
|
| 167 |
|
| 168 |
---
|
| 169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
## Citation
|
| 171 |
|
| 172 |
-
|
| 173 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
|
| 175 |
-
MagharibiBERT is
|
| 176 |
-
original MARBERT work:
|
| 177 |
|
| 178 |
-
> Abdul-Mageed,
|
| 179 |
-
> ARBERT & MARBERT: Deep Bidirectional Transformers for Arabic.
|
| 180 |
-
> ACL-IJCNLP 2021.
|
|
|
|
| 181 |
|
| 182 |
---
|
| 183 |
|
|
|
|
| 167 |
|
| 168 |
---
|
| 169 |
|
| 170 |
+
## Authors
|
| 171 |
+
|
| 172 |
+
- **Ahmed Zoubir Messalti**
|
| 173 |
+
- **Sadik Bessou**
|
| 174 |
+
|
| 175 |
+
**Institution:** University Ferhat Abbas Sétif 1, Algeria
|
| 176 |
+
**Corresponding author:** ahmedzoubir.messalti@univ-setif.dz
|
| 177 |
+
|
| 178 |
+
---
|
| 179 |
+
|
| 180 |
## Citation
|
| 181 |
|
| 182 |
+
If you use MagharibiBERT in your research, please cite the accompanying paper:
|
| 183 |
+
|
| 184 |
+
> Ahmed Zoubir Messalti and Sadik Bessou.
|
| 185 |
+
> **MagharibiBERT: A Regionally Adapted Language Model for Maghrebi Arabic Social Media.**
|
| 186 |
+
> *International Journal of Computers and Their Applications*, 2026.
|
| 187 |
+
> **Accepted for publication. Planned issue: Volume 33, No. 4, December 2026.**
|
| 188 |
+
|
| 189 |
+
Final issue assignment, page numbers, and the article link will be updated upon publication.
|
| 190 |
+
|
| 191 |
+
```bibtex
|
| 192 |
+
@article{messalti2026magharibibert,
|
| 193 |
+
author = {Messalti, Ahmed Zoubir and Bessou, Sadik},
|
| 194 |
+
title = {{MagharibiBERT}: A Regionally Adapted Language Model
|
| 195 |
+
for Maghrebi Arabic Social Media},
|
| 196 |
+
journal = {International Journal of Computers and Their Applications},
|
| 197 |
+
year = {2026},
|
| 198 |
+
note = {Accepted for publication.
|
| 199 |
+
Planned issue: volume 33, number 4, December 2026}
|
| 200 |
+
}
|
| 201 |
+
```
|
| 202 |
|
| 203 |
+
MagharibiBERT is developed within the MARBERT model lineage.
|
| 204 |
+
Users should also cite the original MARBERT work:
|
| 205 |
|
| 206 |
+
> Muhammad Abdul-Mageed, AbdelRahim Elmadany, and El Moatez Billah Nagoudi. (2021).
|
| 207 |
+
> **ARBERT & MARBERT: Deep Bidirectional Transformers for Arabic.**
|
| 208 |
+
> *ACL-IJCNLP 2021*, pp. 7088–7105.
|
| 209 |
+
> https://doi.org/10.18653/v1/2021.acl-long.551
|
| 210 |
|
| 211 |
---
|
| 212 |
|