Published August 26, 2020 | Version 1.0.0
Software Open

Arabic-ALBERT

Authors/Creators

  • 1. Koç University

Description

Pretraining data

The models were pretrained on ~4.4 Billion words:

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 do 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

  • These models were trained using Google ALBERT’s github repository on a single TPU v3-8 provided for free by TFRC.
  • Our pretraining procedure follows training settings of bert with some changes: trained for 7M training steps with batchsize of 64, instead of 125K with batchsize of 4096.

Models

|                                | albert-base | albert-large | albert-xlarge |
|:--------------------------:|:----------------:|:----------------:|:------------------:|
| Hidden layers         | 12               | 24                | 24                 |
| Attention heads     | 12               | 16                | 32                  |
| Hidden size            | 768             | 1024            | 2048              |

How to use

You can use these models by installing torch or tensorflow and Huggingface library transformers.

Acknowledgement

Thanks to Google for providing free TPU for the training process and for Huggingface for hosting these models on their servers

Files

Arabic-ALBERT-logo.png

Files (192.2 kB)

Name Size Download all
md5:4a01a0bd9d6c084a0f99954d493ec20d
188.7 kB Preview Download
md5:66bdd2bf5d9aa3a9e3a7840730fcdb1a
1.1 kB Download
md5:67379745a4ae59c9fac5313b54f5c536
2.5 kB Preview Download