Views
No views yet
lang:ar. For the text data, it was a combination from
Arabic GigaWord, Abulkhair Arabic Corpus and OPUS.
QARiB: Is the Arabic name for "Boat".1>>>from transformers import pipeline
2>>>fill_mask = pipeline("fill-mask", model="./models/bert-base-qarib_far")
3>>> fill_mask("و+قام ال+مدير [MASK]")
4[
5]
6>>> fill_mask("و+قام+ت ال+مدير+ة [MASK]")
7[
8]
9>>> fill_mask("قللي وشفيييك يرحم [MASK]")
10[
11]| Experiment | mBERT | AraBERT0.1 | AraBERT1.0 | ArabicBERT | QARiB |
|---|---|---|---|---|---|
| Dialect Identification | 6.06% | 59.92% | 59.85% | 61.70% | 65.21% |
| Emotion Detection | 27.90% | 43.89% | 42.37% | 41.65% | 44.35% |
| Named-Entity Recognition (NER) | 49.38% | 64.97% | 66.63% | 64.04% | 61.62% |
| Offensive Language Detection | 83.14% | 88.07% | 88.97% | 88.19% | 91.94% |
| Sentiment Analysis | 86.61% | 90.80% | 93.58% | 83.27% | 93.31% |
@article{abdelali2021pretraining,
title={Pre-Training BERT on Arabic Tweets: Practical Considerations},
author={Ahmed Abdelali and Sabit Hassan and Hamdy Mubarak and Kareem Darwish and Younes Samih},
year={2021},
eprint={2102.10684},
archivePrefix={arXiv},
primaryClass={cs.CL}
}