Downloads · 30 days
11
19% of all-time downloads
MaagDeveloper/akhooli-gpt2-small-arabic
akhooli-gpt2-small-arabic is a machine learning model from MaagDeveloper. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
GPT2 model from Arabic Wikipedia dataset based on gpt2-small (using Fastai2).
Downloads · 30 days
11
19% of all-time downloads
All-time downloads
59
Public
Parameters
137M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin510 MB · 34%
How the weights are stored.
F32124M · 91%
From the Hugging Face model README
GPT2 model from Arabic Wikipedia dataset based on gpt2-small (using Fastai2).
An example is provided in this colab notebook. Both text and poetry (fine-tuned model) generation are included.
GPT2-small-arabic (trained on Arabic Wikipedia) has several limitations in terms of coverage (Arabic Wikipeedia quality, no diacritics) and training performance. Use as demonstration or proof of concepts but not as production code.
This pretrained model used the Arabic Wikipedia dump (around 900 MB).
Training was done using Fastai2 library on Kaggle, using free GPU.
Final perplexity reached was 72.19, loss: 4.28, accuracy: 0.307
@inproceedings{Abed Khooli,
year={2020}
}