ahmedabdelali / bert-base-qarib_far_9920k

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: 1
30-day runs: -8
Model's Last Updated: April 21 2021

Introduction of bert-base-qarib_far_9920k

Model Details of bert-base-qarib_far_9920k

QARiB: QCRI Arabic and Dialectal BERT

About QARiB Farasa

QCRI Arabic and Dialectal BERT (QARiB) model, was trained on a collection of ~ 420 Million tweets and ~ 180 Million sentences of text. For the tweets, the data was collected using twitter API and using language filter. 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".

Model and Parameters:
  • Data size: 14B tokens
  • Vocabulary: 64k
  • Iterations: 10M
  • Number of Layers: 12
Training QARiB

See details in Training QARiB

Using QARiB

You can use the raw model for either masked language modeling or next sentence prediction, but it's mostly intended to be fine-tuned on a downstream task. See the model hub to look for fine-tuned versions on a task that interests you. For more details, see Using QARiB

This model expects the data to be segmented. You may use Farasa Segmenter API.

How to use

You can use this model directly with a pipeline for masked language modeling:

>>>from transformers import pipeline
>>>fill_mask = pipeline("fill-mask", model="./models/bert-base-qarib_far")
>>> fill_mask("و+قام ال+مدير [MASK]")
[

]
>>> fill_mask("و+قام+ت ال+مدير+ة [MASK]")
[
]
>>> fill_mask("قللي وشفيييك يرحم [MASK]")
[
]
Evaluations:
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%
Model Weights and Vocab Download

From Huggingface site: https://huggingface.co/qarib/bert-base-qarib_far

Contacts

Ahmed Abdelali, Sabit Hassan, Hamdy Mubarak, Kareem Darwish and Younes Samih

Reference
@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}
}

Runs of ahmedabdelali bert-base-qarib_far_9920k on huggingface.co

10
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
-8
30-day runs

More Information About bert-base-qarib_far_9920k huggingface.co Model

bert-base-qarib_far_9920k huggingface.co

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

bert-base-qarib_far_9920k huggingface.co Url

https://huggingface.co/ahmedabdelali/bert-base-qarib_far_9920k

ahmedabdelali bert-base-qarib_far_9920k online free

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

ahmedabdelali bert-base-qarib_far_9920k online free url in huggingface.co:

https://huggingface.co/ahmedabdelali/bert-base-qarib_far_9920k

bert-base-qarib_far_9920k install

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

bert-base-qarib_far_9920k install url in huggingface.co:

https://huggingface.co/ahmedabdelali/bert-base-qarib_far_9920k

Url of bert-base-qarib_far_9920k

bert-base-qarib_far_9920k huggingface.co Url

Provider of bert-base-qarib_far_9920k huggingface.co

ahmedabdelali
ORGANIZATIONS

Other API from ahmedabdelali