Downloads · 30 days
19
21% of all-time downloads
RichardErkhov/akhooli_-_gpt2-small-arabic-8bits
akhooli_-_gpt2-small-arabic-8bits is a text generation model from RichardErkhov. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
19
21% of all-time downloads
All-time downloads
89
Public
Parameters
125M
164 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors164 MB · 96%
How the weights are stored.
I884.9M · 68%
From the Hugging Face model README
Quantization made by Richard Erkhov.
gpt2-small-arabic - bnb 8bits
language: "ar" datasets:
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}
}