Downloads · 30 days
18
23% of all-time downloads
RichardErkhov/akhooli_-_gpt2-small-arabic-4bits
akhooli_-_gpt2-small-arabic-4bits 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
18
23% of all-time downloads
All-time downloads
77
Public
Parameters
126M
127 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors127 MB · 95%
How the weights are stored.
U884.9M · 68%
From the Hugging Face model README
Quantization made by Richard Erkhov.
gpt2-small-arabic - bnb 4bits
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}
}