Downloads · 30 days
172
5% of all-time downloads
flax-community/gpt2-swahili
gpt2-swahili is a text generation model from flax-community. Use it when you need the model to write or continue text. It is set up for transformers.
This model was trained using HuggingFace's Flax framework and is part of the JAX/Flax Community Week organized by HuggingFace. All training was done on a TPUv3-8 VM sponsored by the Google Cloud team.
Downloads · 30 days
172
5% of all-time downloads
All-time downloads
3.4K
Public
Repo size
1.5 GB
Likes
2
Public
Click a slice to open those files.
.bin510 MB · 50%
From the Hugging Face model README
This model was trained using HuggingFace's Flax framework and is part of the JAX/Flax Community Week organized by HuggingFace. All training was done on a TPUv3-8 VM sponsored by the Google Cloud team.
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("flax-community/gpt2-swahili")
model = AutoModelWithLMHead.from_pretrained("flax-community/gpt2-swahili")
print(round((model.num_parameters())/(1000*1000)),"Million Parameters")
124 Million Parameters
This model was trained on Swahili Safi
For more details and Demo please check HF Swahili Space