obaidtambo commited on
Commit
a2fb6e5
1 Parent(s): 2cace62

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! 😊

Browse files
Files changed (1) hide show
  1. README.md +57 -0
README.md CHANGED
@@ -1,3 +1,60 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - ur
5
+ library_name: transformers
6
+ tags:
7
+ - text-generation-inference
8
+ - text generation
9
+ - eng_translireated_urdu
10
  ---
11
+
12
+
13
+
14
+
15
+ # Urdu Ghazals Model
16
+ ## 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:
17
+
18
+ hazāroñ ḳhvāhisheñ aisī ki har ḳhvāhish pe dam nikle
19
+
20
+ bahut nikle mire armān lekin phir bhī kam nikle
21
+
22
+ Dare kyuuñ merā qātil kyā rahegā us kī gardan par
23
+
24
+ vo ḳhuuñ jo chashm-e-tar se umr bhar yuuñ dam-ba-dam nikle
25
+
26
+ nikalnā ḳhuld se aadam kā sunte aa.e haiñ lekin
27
+
28
+ bahut be-ābrū ho kar tire kūche se ham nikle
29
+
30
+ bharam khul jaa.e zālim tere qāmat kī darāzī kā
31
+
32
+ agar is turra-e-pur-pech-o-ḳham kā pech-o-ḳham nikle
33
+
34
+ magar likhvā.e koī us ko ḳhat to ham se likhvā.e
35
+
36
+ huī sub.h aur ghar se kaan par rakh kar qalam nikle
37
+
38
+ huī is daur meñ mansūb mujh se bāda-ashāmī
39
+
40
+ phir aayā vo zamāna jo jahāñ meñ jām-e-jam nikle
41
+
42
+ huī jin se tavaqqo ḳhastagī kī daad paane kī
43
+
44
+ vo ham se bhī ziyāda ḳhasta-e-teġh-e-sitam nikle
45
+
46
+ mohabbat meñ nahīñ hai farq jiine aur marne kā
47
+
48
+ usī ko dekh kar jiite haiñ jis kāfir pe dam nikle
49
+
50
+ kahāñ mai-ḳhāne kā darvāza 'ġhālib' aur kahāñ vaa.iz
51
+
52
+ par itnā jānte haiñ kal vo jaatā thā ki ham nikle
53
+
54
+
55
+
56
+ A good prompt for this model would be an English translated line from an Urdu ghazal, such as “kuch kehna tha aap se”.
57
+
58
+ The model will generate an Urdu ghazal in response to the prompt.
59
+
60
+ We hope you enjoy using this model to generate beautiful Urdu ghazals! 😊