Downloads · 30 days
575
22% of all-time downloads
Imran1/gpt2-urdu-news
gpt2-urdu-news is a text generation model from Imran1. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Fine tune gpt2 model on Urdu news dataset using a causal language modeling (CLM) objective.
Downloads · 30 days
575
22% of all-time downloads
All-time downloads
2.6K
Public
Parameters
175M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin663 MB · 50%
How the weights are stored.
F32163M · 93%
From the Hugging Face model README
Fine tune gpt2 model on Urdu news dataset using a causal language modeling (CLM) objective.
You can use this model directly with a pipeline for text generation. Since the generation relies on some randomness, we set a seed for reproducibility:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Imran1/gpt2-urdu-news")
model = AutoModelForCausalLM.from_pretrained("Imran1/gpt2-urdu-news")
I fine tune gpt2 for downstream task like text generation, only for 1000 sample so it may not be good. Due to resources limitation.
training loss 3.042