SI2M-Lab / DarijaBERT

huggingface.co
Total runs: 576
24-hour runs: 2
7-day runs: -10
30-day runs: -154
Model's Last Updated: September 25 2024
fill-mask

Introduction of DarijaBERT

Model Details of DarijaBERT

AIOX Lab and SI2M Lab INSEA have joined forces to offer researchers, industrialists and the NLP (Natural Language Processing) community the first intelligent Open Source system that understands Moroccan dialectal language "Darija".

DarijaBERT is the first BERT model for the Moroccan Arabic dialect called “Darija”. It is based on the same architecture as BERT-base, but without the Next Sentence Prediction (NSP) objective. This model was trained on a total of ~3 Million sequences of Darija dialect representing 691MB of text or a total of ~100M tokens.

The model was trained on a dataset issued from three different sources:

  • Stories written in Darija scrapped from a dedicated website
  • Youtube comments from 40 different Moroccan channels
  • Tweets crawled based on a list of Darija keywords.

More details about DarijaBert are available in the dedicated GitHub repository

Loading the model

The model can be loaded directly using the Huggingface library:

from transformers import AutoTokenizer, AutoModel
DarijaBERT_tokenizer = AutoTokenizer.from_pretrained("SI2M-Lab/DarijaBERT")
DarijaBert_model = AutoModel.from_pretrained("SI2M-Lab/DarijaBERT")

Citation

If you use our models for your scientific publication, or if you find the resources in this repository useful, please cite our paper as follows (to be updated):

@article{gaanoun2023darijabert,
  title={Darijabert: a Step Forward in Nlp for the Written Moroccan Dialect},
  author={Gaanoun, Kamel and Naira, Abdou Mohamed and Allak, Anass and Benelallam, Imade},
  year={2023}
}

Acknowledgments

We gratefully acknowledge Google’s TensorFlow Research Cloud (TRC) program for providing us with free Cloud TPUs.

Runs of SI2M-Lab DarijaBERT on huggingface.co

576
Total runs
2
24-hour runs
12
3-day runs
-10
7-day runs
-154
30-day runs

More Information About DarijaBERT huggingface.co Model

DarijaBERT huggingface.co

DarijaBERT huggingface.co is an AI model on huggingface.co that provides DarijaBERT's model effect (), which can be used instantly with this SI2M-Lab DarijaBERT model. huggingface.co supports a free trial of the DarijaBERT model, and also provides paid use of the DarijaBERT. Support call DarijaBERT model through api, including Node.js, Python, http.

SI2M-Lab DarijaBERT online free

DarijaBERT huggingface.co is an online trial and call api platform, which integrates DarijaBERT's modeling effects, including api services, and provides a free online trial of DarijaBERT, you can try DarijaBERT online for free by clicking the link below.

SI2M-Lab DarijaBERT online free url in huggingface.co:

https://huggingface.co/SI2M-Lab/DarijaBERT

DarijaBERT install

DarijaBERT is an open source model from GitHub that offers a free installation service, and any user can find DarijaBERT on GitHub to install. At the same time, huggingface.co provides the effect of DarijaBERT install, users can directly use DarijaBERT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

DarijaBERT install url in huggingface.co:

https://huggingface.co/SI2M-Lab/DarijaBERT

Url of DarijaBERT

DarijaBERT huggingface.co Url

Provider of DarijaBERT huggingface.co

SI2M-Lab
ORGANIZATIONS

Other API from SI2M-Lab