If you use this model in your work, please cite this paper:
@inproceedings{safaya-etal-2020-kuisail,
title = "{KUISAIL} at {S}em{E}val-2020 Task 12: {BERT}-{CNN} for Offensive Speech Identification in Social Media",
author = "Safaya, Ali and
Abdullatif, Moutasem and
Yuret, Deniz",
booktitle = "Proceedings of the Fourteenth Workshop on Semantic Evaluation",
month = dec,
year = "2020",
address = "Barcelona (online)",
publisher = "International Committee for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.semeval-1.271",
pages = "2054--2059",
}
Pretraining Corpus
arabic-bert-large
model was pretrained on ~8.2 Billion words:
and other Arabic resources which sum up to ~95GB of text.
Notes on training data:
Our final version of corpus contains some non-Arabic words inlines, which we did not remove from sentences since that would affect some tasks like NER.
Although non-Arabic characters were lowered as a preprocessing step, since Arabic characters does not have upper or lower case, there is no cased and uncased version of the model.
The corpus and vocabulary set are not restricted to Modern Standard Arabic, they contain some dialectical Arabic too.
Pretraining details
This model was trained using Google BERT's github
repository
on a single TPU v3-8 provided for free from
TFRC
.
Our pretraining procedure follows training settings of bert with some changes: trained for 3M training steps with batchsize of 128, instead of 1M with batchsize of 256.
Load Pretrained Model
You can use this model by installing
torch
or
tensorflow
and Huggingface library
transformers
. And you can use it directly by initializing it like this:
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("asafaya/bert-large-arabic")
model = AutoModelForMaskedLM.from_pretrained("asafaya/bert-large-arabic")
Results
For further details on the models performance or any other queries, please refer to
Arabic-BERT
Acknowledgement
Thanks to Google for providing free TPU for the training process and for Huggingface for hosting this model on their servers 😊
Runs of asafaya bert-large-arabic on huggingface.co
647
Total runs
6
24-hour runs
18
3-day runs
47
7-day runs
235
30-day runs
More Information About bert-large-arabic huggingface.co Model
bert-large-arabic huggingface.co
bert-large-arabic huggingface.co is an AI model on huggingface.co that provides bert-large-arabic's model effect (), which can be used instantly with this asafaya bert-large-arabic model. huggingface.co supports a free trial of the bert-large-arabic model, and also provides paid use of the bert-large-arabic. Support call bert-large-arabic model through api, including Node.js, Python, http.
bert-large-arabic huggingface.co is an online trial and call api platform, which integrates bert-large-arabic's modeling effects, including api services, and provides a free online trial of bert-large-arabic, you can try bert-large-arabic online for free by clicking the link below.
asafaya bert-large-arabic online free url in huggingface.co:
bert-large-arabic is an open source model from GitHub that offers a free installation service, and any user can find bert-large-arabic on GitHub to install. At the same time, huggingface.co provides the effect of bert-large-arabic install, users can directly use bert-large-arabic installed effect in huggingface.co for debugging and trial. It also supports api for free installation.