Downloads · 30 days
0
DigitalUmuganda/kinya-gpt-2
kinya-gpt-2 is a text generation model from DigitalUmuganda. Use it when you need the model to write or continue text.
Kinyarwanda GPT-2 model based on Andrej Karpathy's nanoGPT. It was trained on a mixture of news data and diverse computer-generated datasets in Kinyarwanda.
Downloads · 30 days
0
Access
Public
Updated Apr 29, 2023
Repo size
360 MB
Likes
1
Public
Click a slice to open those files.
.pt360 MB · 100%
From the Hugging Face model README
Kinyarwanda GPT-2 model based on Andrej Karpathy's nanoGPT. It was trained on a mixture of news data and diverse computer-generated datasets in Kinyarwanda.
pip install transformers datasets tiktoken wandb tqdm
To use this model to generate text, download all the files in the repo and put them in the same directory, then run the following command:
python sample.py --out_dir=.