Downloads · 30 days
84
1% of all-time downloads
asafaya/albert-large-arabic
albert-large-arabic is a fill-mask model from asafaya. Use it when you need the model to fill a missing word. It is set up for transformers.
Arabic edition of ALBERT Large pretrained language model
Downloads · 30 days
84
1% of all-time downloads
All-time downloads
11K
Public
Parameters
17.8M
231 MB on disk
Likes
1
Public
Click a slice to open those files.
.h587.2 MB · 38%
From the Hugging Face model README
Arabic edition of ALBERT Large pretrained language model
If you use any of these models in your work, please cite this work as:
@software{ali_safaya_2020_4718724,
author = {Ali Safaya},
title = {Arabic-ALBERT},
month = aug,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.4718724},
url = {https://doi.org/10.5281/zenodo.4718724}
}
The models were pretrained on ~4.4 Billion words:
Notes on training data:
| albert-base | albert-large | albert-xlarge | |
|---|---|---|---|
| Hidden Layers | 12 | 24 | 24 |
| Attention heads | 12 | 16 | 32 |
| Hidden size | 768 | 1024 | 2048 |
For further details on the models performance or any other queries, please refer to Arabic-ALBERT
You can use these models 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
# loading the tokenizer
tokenizer = AutoTokenizer.from_pretrained("kuisailab/albert-large-arabic")
# loading the model
model = AutoModelForMaskedLM.from_pretrained("kuisailab/albert-large-arabic")
Thanks to Google for providing free TPU for the training process and for Huggingface for hosting these models on their servers 😊