Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
obaidtambo
/
urdu_gahzal_gpt2
like
1
Text Generation
Transformers
PyTorch
Urdu
gpt2
text-generation-inference
text generation
eng_translireated_urdu
Inference Endpoints
License:
apache-2.0
Model card
Files
Files and versions
Community
1
Train
Deploy
Use this model
d40a0d0
urdu_gahzal_gpt2
1 contributor
History:
4 commits
obaidtambo
Config files
d40a0d0
over 1 year ago
.gitattributes
Safe
1.52 kB
initial commit
over 1 year ago
README.md
Safe
1.67 kB
Here is a README for the urdu_ghazals model: Urdu Ghazals Model This model generates Urdu ghazals in response to English translated prompts. The model was trained and fine-tuned on a dataset of 9000 samples of Urdu ghazals, including the famous ghazal by Mirza Ghalib: hazāroñ ḳhvāhisheñ aisī ki har ḳhvāhish pe dam nikle bahut nikle mire armān lekin phir bhī kam nikle Dare kyuuñ merā qātil kyā rahegā us kī gardan par vo ḳhuuñ jo chashm-e-tar se umr bhar yuuñ dam-ba-dam nikle nikalnā ḳhuld se aadam kā sunte aa.e haiñ lekin bahut be-ābrū ho kar tire kūche se ham nikle bharam khul jaa.e zālim tere qāmat kī darāzī kā agar is turra-e-pur-pech-o-ḳham kā pech-o-ḳham nikle magar likhvā.e koī us ko ḳhat to ham se likhvā.e huī sub.h aur ghar se kaan par rakh kar qalam nikle huī is daur meñ mansūb mujh se bāda-ashāmī phir aayā vo zamāna jo jahāñ meñ jām-e-jam nikle huī jin se tavaqqo ḳhastagī kī daad paane kī vo ham se bhī ziyāda ḳhasta-e-teġh-e-sitam nikle mohabbat meñ nahīñ hai farq jiine aur marne kā usī ko dekh kar jiite haiñ jis kāfir pe dam nikle kahāñ mai-ḳhāne kā darvāza 'ġhālib' aur kahāñ vaa.iz par itnā jānte haiñ kal vo jaatā thā ki ham nikle Copy A good prompt for this model would be an English translated line from an Urdu ghazal, such as “kuch keha tha aap se”. The model will generate an Urdu ghazal in response to the prompt. We hope you enjoy using this model to generate beautiful Urdu ghazals! 😊
over 1 year ago
config.json
Safe
955 Bytes
Config files
over 1 year ago
generation_config.json
Safe
119 Bytes
Config files
over 1 year ago
merges.txt
Safe
456 kB
Config files
over 1 year ago
pytorch_model.bin
Safe
pickle
Detected Pickle imports (3)
"torch.FloatStorage"
,
"torch._utils._rebuild_tensor_v2"
,
"collections.OrderedDict"
What is a pickle import?
498 MB
LFS
Model trained on 55 +8 epochs
over 1 year ago
scheduler.pt
Safe
pickle
Pickle imports
No problematic imports detected
What is a pickle import?
627 Bytes
LFS
Config files
over 1 year ago
special_tokens_map.json
Safe
438 Bytes
Config files
over 1 year ago
tokenizer_config.json
Safe
727 Bytes
Config files
over 1 year ago
trainer_state.json
Safe
1.82 kB
Config files
over 1 year ago
training_args.bin
pickle
Detected Pickle imports (8)
"accelerate.utils.dataclasses.DistributedType"
,
"accelerate.state.PartialState"
,
"transformers.trainer_utils.HubStrategy"
,
"transformers.training_args.TrainingArguments"
,
"transformers.training_args.OptimizerNames"
,
"transformers.trainer_utils.IntervalStrategy"
,
"torch.device"
,
"transformers.trainer_utils.SchedulerType"
How to fix it?
3.96 kB
LFS
Config files
over 1 year ago
vocab.json
Safe
999 kB
Config files
over 1 year ago