Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
category
stringlengths
6
56
subset
stringclasses
2 values
turns_count
int64
2
56
messages
listlengths
3
57
e12032ae-70bc-4aaf-810b-c8996d65a02a
casual
instruct
2
[ { "role": "system", "content": "You are a knowledgeable, respectful, and professional Sindhi AI Assistant." }, { "role": "user", "content": "ادا ڪيئن آهين؟ اڄ ڪلاس ۾ نه آيو هئين؟" }, { "role": "assistant", "content": "يار، طبيعت ٿوري ٺيڪ نه هئي، ان ڪري نه اچي سگهيس۔" } ]
c895af1b-fc4b-4491-9cbc-c5fb47a1b156
09_infra_health_technology
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "سلام ډاڪٽر صاحب! مان هن وقت يو بي آءِ ٽي جي هن ريسرچ هال ۾ ويٺي سوچي رهيو هئس ته جيڪڏهن اسان Llama يا Mistral جهڙن وڏن ماڊلز ۾ سنڌي ل...
86475e63-92c0-4bc7-8293-680eb0eced61
09_infra_health_technology
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "يار فهد، هي سنڌي ٻولي جو ٺيڪ ماڊل تيار ڪرڻ ته سورو ڪم آهي، پر اصل پُڇين ته هن A100 يا H100 GPU جي مهانگائيءَ ته اسان جو ساهه مٺ ۾ آڻي...
1b94c9d2-fb54-403e-b8f0-297f1a1c5519
casual
cultural_roleplay
14
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "مهوش، لاک ڊائون جون اهي ويران راتيون جڏهن هاسٽل جي ڪمري ۾ اڪيلو ڪاٽيندو هيس، تڏهن تنهنجو فون تي ساٿ ڏيڻ منهنجو ساهه مٺ ۾ اچڻ کان بچاي...
26ac7c79-40b2-4760-b136-40ba376e5796
13_current_affairs_crises
cultural_roleplay
56
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "چاچا نظير، اڄ واري اخبار جو پهريون صفحو ڏٺو اٿئي؟ سنڌوءَ مان وري 6 نوان ڪئنال ڪڍڻ جي ڳالهه پئي هلي. اسان جي درياهه کي ريگستان بنائڻ ج...
db03bb83-fa43-4633-bda8-bcbc9a83379a
13_current_affairs_crises
cultural_roleplay
52
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "وڏيرا درمحمد سائين، سلام! ڏاڍو پريشان ٿي تڪڙو اوهان وٽ اوطاق تي آيو آهيان. هڪ وڏي مصيبت مان مس جان ڇڏائي اٿم۔" }, { "role": "...
a24996af-0ba9-4e58-ae4c-bf91f04287fd
12_autaq_kacheri_community
cultural_roleplay
46
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "حاجي صاحب، ڳوٺ ۾ ٻيو ڏينهن آهي جو ٽرانسفارمر سڙي پيو آهي. 45 ڊگري گرميءَ ۾ ٻارن جي روئڻ جا آواز گهرن مان ٻاهر روڊ تائين اچن ٿا، پر حي...
3a11a732-42dc-4fd8-b3fa-cccbad35b631
11_social_media_digital_culture
cultural_roleplay
34
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "فرحان، اڄ صبح فيسبوڪ تي تنهنجي کڻي رکيل وڊيو ڏٺم. ڇا ڳوٺ جي غريب پيرسن جو بغير اجازت انٽرويو وٺي ان تي سنسني خيز ٿمب نيل لڳائڻ درست ه...
fb63dcd6-9b89-41bb-bab2-8df6dbc26b54
11_social_media_digital_culture
cultural_roleplay
32
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ادا ارسلان، سلام! مان نوابشاهه ڀرسان دؤلتپور واري ڳوٺ مان آيو آهيان. بي اي پاس ڪئي اٿم، پر سرڪاري نوڪريءَ جي ڪا اميد ڪانهي. ٻڌو اٿم ت...
7e0c3a3b-c486-49d4-8605-a0d84a6f5fde
14_bazaar_hotels_hustle
cultural_roleplay
34
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "الهداد، اڄ رات جو ٻه وڳي گهنڊ وڄي رهيو آهي ۽ تون رڪشا هوٽل اڳيان بيهاري مٿي تي هٿ رکيو ويٺو آهين! ڇا مسافر ناهن مليا ڇا؟" }, { ...
d13aa046-efe7-478f-af2a-5644e516138e
14_bazaar_hotels_hustle
cultural_roleplay
28
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "سيٺ ڪشن چند، سلام! هي سنڌي سوسي ۽ اجرڪ جي ٺپن وارو جوڙو ڪيتري ۾ ڏيندين؟ اگهه مناسب لائج، مان ڪا اڄ نئين گراهڪ ڪانه آهيان۔" }, { ...
7568c308-4111-436d-97af-dc48230e8114
13_current_affairs_crises
cultural_roleplay
32
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "استاد بشير، سلام! مان روهڙي ڪئنال جي پڇڙيءَ تان آيو آهيان. بئراج تي هي ميڊيا وارن جا ڪئميرا لڳل ڏسي منهنجو ساهه سڪي ويو آهي. ڇا در وا...
a6776f1a-bbb2-4432-823a-2ab5bebc6fed
14_bazaar_hotels_hustle
cultural_roleplay
18
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "نديم، اڄ پاڪستان واري ميچ ڏٺي؟ آخري اوور ۾ جڏهن 10 رپيا به کٽڻ لاءِ نه ٿي سگهيا، منهنجو بلڊ پريشر 200 تي وڃي پهتو هو!" }, { "...
d418a440-4471-4a5a-8b67-cba1c87eb6a6
14_bazaar_hotels_hustle
cultural_roleplay
20
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ڊرائيور صاحب، مهرباني ڪري گاڏي جي رفتار گهٽاءِ! هي سنگل روڊ آهي، سامهون کان تيل جا وڏا ٽئنڪر اچن پيا ۽ تون اٽڪل 120 جي اسپيڊ سان اوور...
be8b8990-5c1b-4ece-967d-a1f95b1f81ef
14_bazaar_hotels_hustle
cultural_roleplay
22
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "بچل ملاح، اڄ سڄو ڏينهن تعميراتي ڪم تي سيمينٽ جون ڳونيون کڻي ڪنڌ ۾ سور پئجي ويو آهي. شام جو گهر مالڪ اچي بيٺو ته مسواڙ وڌائي 18 هزار ڪ...
90514eb2-d8cf-4a13-907b-773283c78fe5
12_autaq_kacheri_community
cultural_roleplay
24
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "وڏيرا صاحب، انصاف ڪريو! منهنجو وارو رات جو ٻارهين کان صبح جو چار وڳي تائين هو. پير بخش منهنجي واٽر ڪورس جو منهن ٻڌي پنهنجي ڪمند کي پا...
1aa4f561-84d3-480c-a9b0-b5ece5c03dc1
11_social_media_digital_culture
cultural_roleplay
20
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "وقار، تون سوشل ميڊيا تي سنڌي پوسٽون رومن اسڪرپٽ (انگريزي اکرن) ۾ ڇو لکندو آهين؟ اسان جي ٻوليءَ جو پنهنجو 52 اکرن وارو شاهوڪار رسم الخ...
41675698-7d3c-4cdf-bce6-d6537fabadc2
12_autaq_kacheri_community
cultural_roleplay
22
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ماما قادر، سلام! ڪالهه شاديءَ واري ڏينهن تنهنجو ننڍو ڀاءُ ميزبانن سان ڏاڍو بدتميزي ڪري اُٿي هليو ويو. رڳو ان ڳالهه تان ته کين مٿئين ڪ...
b3dd1ffd-5a6c-42f6-83dd-fcb59a041d88
11_social_media_digital_culture
cultural_roleplay
40
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "عاشق، موبائل کيسي ۾ وجھي بيلچو کڻ! هي نصرت واهه ۾ چاليهه فوٽ گهارو پئجي ويو آهي ۽ پاڻي سڌو اسان جي ڳوٺ ۽ ڪڻڪ جي تيار ٻنين ڏانهن وڌي ر...
57d7193b-362c-4c54-a9f2-29fd4c8c4f98
11_social_media_digital_culture
cultural_roleplay
24
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "محمد نواز، اڄ سڄي فيسبوڪ ۽ سنڌي نيوز چينلن تي رڳو تنهنجون تصويرون ڇانيل آهن! صدر مان رڪشا ۾ رهجي ويل ڏهه لک رپين جو سون وارو ٿيلهو تو...
864766b1-1265-4f06-b6ed-29fff5fc9f6d
11_social_media_digital_culture
cultural_roleplay
20
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ماستر رتن لال، اڄ اخبار ۽ فيسبوڪ تي ٿر جي ڳوٺ ڏيپلو واري هاريءَ جي پٽ کينراج جو نالو مٿي مٿي چمڪي رهيو آهي! ڇا هو سچ پچ سي ايس ايس (C...
443e8e41-81b8-43af-acd0-93ef0eeb3f59
14_bazaar_hotels_hustle
cultural_roleplay
24
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "سيٺ گوتم داس، سلام! هي منهنجي ڳاڙهي سارين جا اڍائي سئو ٻورا ٽراليءَ تان لاهي پٽ تي رکيا اٿم. صاف، سڪل ۽ ڳري داڻي وارا چانور اٿئي. اڄ ...
ff575fb8-f4b8-4cc0-ab78-b985b9b62570
14_bazaar_hotels_hustle
cultural_roleplay
20
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "حاجي دوست محمد، سلام! هي سنڌي ڳاڙهي نسل (Red Sindhi) جي وڇيري تنهنجي آهي؟ ماڻهو چڱا گڏ ٿيل اٿس. ڪيترا پئسا طلب ڪيا اٿئي؟" }, { ...
d31566be-0e3d-400a-927c-bad98b2626ae
13_current_affairs_crises
cultural_roleplay
22
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "سجاد مئنيجر صاحب، ٻڌو! اسان جي ڪمند سان ڀريل ٽرالين کي پنجن ڏينهن کان سيتا روڊ تي قطار ۾ بيهاري ڇو ماريو پيو وڃي؟ اسان جو ڪمند سڪي ڪا...
eef55263-aeee-4ea8-ab7f-34c7dc22bb46
12_autaq_kacheri_community
cultural_roleplay
22
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "قربان علي پٽ، مچ ۾ ٻٻر جون ٻه وڏيون ڪاٺيون اڃا وڌيڪ اڇلاءِ! سياري جي اتر واري تيز هوا سان هڏا سڙي رهيا آهن. ڪالهه کان اسان جي ڳوٺ ۾ ڪ...
b3bde1ff-fe48-4aed-9b24-56af4c4d4fad
01_politics_power
cultural_roleplay
14
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "چاچا منظور علي، مزار تي گل چاڙهي آياسين پر سچ ٻڌاءِ، ڇا هي اها ئي پيپلز پارٽي آهي جنهن لاءِ شهيد ڀٽو ڦاهي چڙهيو هو ۽ محترمه شهيد جان ...
310c0814-ab0d-4978-bc9c-6ac75e396dc2
01_politics_power
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ادا اعجاز، مونکي ڪلاڪن کان قطار ۾ بيهاري ڊيوائس واري ڇوڪري چيو ته تنهنجو آڱوٺو ميچ نٿو ٿئي! پوءِ ڳجهي ۾ چوي پيو ته ٻه هزار رپيا ڏي ته...
a04db7c6-b00b-40b1-afac-becc0dba0fec
01_politics_power
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "نويد ڏاهري چيئرمين صاحب، اوهان اليڪشن وقت هٿ ٻڌي واعدو ڪيو هو ته ڳوٺ جي نالين جو گندو پاڻي ٻاهر نڪرندو. اڄ ٻه سال ٿي ويا آهن، ڳوٺ جي ...
955ed866-bb89-4d54-ad80-68312dca609d
01_politics_power
cultural_roleplay
14
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ڪامران پٽ، هي پارٽي آفيس ۾ نوان لڳل پينافليڪس ڏس! جن وڏيرن ضمير شاهه ۽ ضياءَ جي دور ۾ اسان جي گهرن تي پوليس چاڙهي هئي، اڄ پارٽي جي اس...
3a2fd28f-1187-49c6-9ad1-54f1ed407868
01_politics_power
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "حاجي اسلم صاحب، منهنجو ڪچو گهر ٻوڏ ۾ مڪمل تباهه ٿي ويو هو، مان ٻه سال ڪکائن ڇوپن ۾ گذاريا آهن. لسٽ ۾ منهنجو نالو ڇو خارج ڪيو ويو ۽ وڏ...
6a8c9486-f23b-434b-9414-13fa1c9ecc7f
01_politics_power
cultural_roleplay
14
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "فرحان پٽ، ٽي وي اسڪرين تي سپريم ڪورٽ جي چيف جسٽس جو فيصلو ٻڌو؟ 45 سالن کانپوءِ آخرڪار عدالت مڃيو ته شهيد ذوالفقارعلي ڀٽو جو ٽرائل فيئ...
6f9a4d61-74ef-4b17-bcc9-1f7f34b79df9
01_politics_power
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "ڊاڪٽر طارق، مٽياريءَ جو هي آر ايڇ سي (RHC) اسپتال جڏهن کان پي پي ايڇ آءِ (PPHI) جي حوالي ٿيو آهي، اوهان روزانو حاضري ۽ مفت دوائون ڏئي...
314942bd-23df-4b49-b303-8b3e8ad6b3e9
01_politics_power
cultural_roleplay
12
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "شاهه صاحب، ڀٽ شاهه، سيوهڻ ۽ ٽنڊو جهانيا جا سڀ گادي نشين درگاهن جا مريد کڻي چونڊن وقت پيپلز پارٽيءَ جي صفن ۾ گڏجي ڇو بيهندا آهن؟ ڇا تص...
6c4480bb-9380-4e81-9e19-2a0a53c9d1a2
01_politics_power
cultural_roleplay
14
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "عاصم فاروقي ڀاءُ، ڪراچي کي ملڪ جي تاريخ ۾ پهريون ڀيرو پيپلز پارٽي مان سنڌي سياست جو نمائندو مرتضيٰ وهاب ميئر مليو آهي. پر جماعت اسلام...
3d3bb6ee-2443-414a-85a6-c8c1110dde0a
01_politics_power
cultural_roleplay
14
[ { "role": "system", "content": "You are a culturally grounded Sindhi conversational partner participating in authentic dialogue." }, { "role": "user", "content": "صائمه ڌيءَ، اڄ 27 ڊسمبر آهي. ائين لڳي پيو ڄڻ ڪالهه جي ڳالهه هجي جڏهن ٽي وي اسڪرين تي لياقت باغ راولپنڊي مان گولي هلڻ ۽ ڌماڪي جي اها خ...
End of preview. Expand in Data Studio

Sindhi Assistant IFT 1,500: Grounded Instruction & Cultural Roleplay Dataset

License: Apache 2.0 Target Model: Gemma-4-128k Language: Sindhi ASCII Digits: 100% Verified Clean: 100%

Sindhi Assistant IFT 1,500 is a production-grade, audited Instruction Fine-Tuning (IFT / SFT) dataset developed specifically for training and fine-tuning long-context multilingual language models in the Sindhi language (سنڌي). It is tailored as the companion alignment dataset for Kashif786/gemma-4-E2B-it-text-only-128k-pruned.

The dataset spans 1,500 master conversations, 22,012 dialogue turns, and 654,305 words, covering 380+ distinct academic, cultural, legal, technical, and colloquial domains.


📊 Dataset Summary

Attribute Value Description
Total Conversations 1,500 Clean, deduplicated, and structurally verified
Total Dialogue Turns 22,012 Clean role-alternating turns
Total Word Count 654,305 Native Sindhi, English, and Urdu vocabularies
Single-Turn Instructions 806 (53.7%) Professional AI Q&A with markdown, tables, and code
Multi-Turn Roleplay 694 (46.3%) Grounded dialogues in Sindhi culture & everyday life
Digit Standard 100% ASCII (0-9) Zero Arabic-Indic digits ([\u0660-\u0669\u06f0-\u06f9])
Role Alternation 100% Compliant Every conversation begins with user and ends with assistant
License Apache 2.0 Permissive open-source license for research and commercial use

⚖️ Dual-Subset Architecture: Mitigating Persona Bleeding

A frequent challenge in conversational LLM fine-tuning is persona bleeding—where colloquial roleplay habits (e.g., informal village greetings or poetic emotional reflections) leak into formal technical tasks, or conversely, where robotic structured lists leak into warm social dialogues.

To prevent this, the dataset is cleanly partitioned into two distinct sub-configurations, each paired with its own dedicated system prompt:

1. instruct Subset (806 Conversations — 53.7%)

  • Focus: Objective instruction-following, computer science, medicine, Sindh legal acts, economics, mathematics, and bidirectional translations.
  • Persona: Authoritative, structured, and formal AI assistant. Responses feature markdown headers, bullet lists, LaTeX/ASCII equations, and clean code blocks.
  • System Prompt:
    You are a knowledgeable, respectful, and professional Sindhi AI Assistant.
    

2. cultural_roleplay Subset (694 Conversations — 46.3%)

  • Focus: Deep multi-turn dialogues grounded in Sindhi classical poetry (Shah Jo Risalo, Sachal Sarmast, Shaikh Ayaz), agrarian life along the River Indus, folk traditions, social etiquette, and regional history.
  • Turn Distribution:
    • Epic Dialogues (50+ turns): 216 conversations
    • Substantial Dialogues (30–49 turns): 149 conversations
    • Natural Multi-turn (3–29 turns): 329 conversations
  • Persona: Culturally authentic Sindhi conversational partner participating in natural human dialogue.
  • System Prompt:
    You are a culturally grounded Sindhi conversational partner participating in authentic dialogue.
    

🔬 Domain Coverage (380+ Unique Knowledge Areas)

The dataset covers six major thematic pillars:

  1. Sindhi Classical Literature & Prosody:
    In-depth analysis of all 30 Surs of Shah Abdul Latif Bhittai (Kalyan, Sarang, Sasui, Marui, Kamod, Sorath, etc.), Sachal Sarmast's mystical Kafis, Shaikh Ayaz's modern poetry, and the metrical structures of Sindhi Bait and Wai.
  2. Sindh Legal & Administrative Governance:
    Sindh Rented Premises Ordinance 1979, Sindh Public Procurement Regulatory Authority (SPPRA) Rules, Land Revenue Records (Form VII, VIII-A), Sindh Right to Information (RTI) Act 2016, Succession & Legal Heirship procedures, and family court jurisprudence.
  3. Computer Science, Software Engineering & AI:
    Python FastAPI asynchronous architectures, PostgreSQL indexing (B-Tree vs GIN), CAP Theorem, Transformer self-attention mechanisms, Docker multi-stage builds, Redis caching patterns, and REST API design.
  4. Cross-Lingual & Trilingual Bridges:
    Bidirectional English-to-Sindhi and Sindhi-to-English translations; Urdu-to-Sindhi and Sindhi-to-Urdu cultural exchanges; and comprehensive trilingual technical glossaries (English–Urdu–Sindhi).
  5. Medicine, Pharmacology & Public Health:
    Type 2 diabetes management, cardiovascular hemodynamics, chronic kidney disease protocols, snakebite antivenom (ASV) guidelines, thalassemia carrier screening, and dengue therapeutics.
  6. Ecology, Agriculture & Indus Hydrology:
    Indus Delta seawater intrusion, Manchar Lake restoration, 1991 Water Apportionment Accord, canal irrigation systems, saline soil remediation, and mangrove conservation.

🛠️ Quickstart: Loading the Dataset

Install the Hugging Face datasets library:

pip install datasets

Loading Specific Configurations

from datasets import load_dataset

# 1. Load the unified dataset (all 1,500 conversations):
dataset_all = load_dataset("Kashif786/Sindhi-Assistant-IFT-1500", "all")
print(f"Total records: {len(dataset_all['train'])}")

# 2. Load strictly the 806 AI Instruction-Following tasks:
dataset_instruct = load_dataset("Kashif786/Sindhi-Assistant-IFT-1500", "instruct")
print(f"Instruct records: {len(dataset_instruct['train'])}")

# 3. Load strictly the 694 Cultural Multi-turn Roleplay conversations:
dataset_roleplay = load_dataset("Kashif786/Sindhi-Assistant-IFT-1500", "cultural_roleplay")
print(f"Roleplay records: {len(dataset_roleplay['train'])}")

Example Data Record

sample = dataset_all["train"][0]
print("ID:", sample["id"])
print("Subset:", sample["subset"])
print("Total Turns:", sample["turns_count"])

for turn in sample["messages"]:
    print(f"[{turn['role'].upper()}]: {turn['content'][:80]}...")

📂 Repository Structure & Format Compatibility

The repository provides files in both Hugging Face native multi-subset format and industry-standard training formats:

Kashif786/Sindhi-Assistant-IFT-1500/
├── README.md                          # Comprehensive English Dataset Card
├── data/
│   ├── all.jsonl                      # 1,500 unified records (Default Config)
│   ├── instruct.jsonl                 # 806 single-turn instruction QA records
│   └── cultural_roleplay.jsonl        # 694 multi-turn dialogue records
└── formats/
    ├── sindhi_gemma_chatml.jsonl      # Native Gemma ChatML format
    ├── sindhi_sharegpt.jsonl          # ShareGPT format (Axolotl / LLaMA-Factory)
    └── sindhi_alpaca.jsonl            # Alpaca format (Unsloth / standard SFT)

🚀 Fine-Tuning Guide (Gemma-4-E2B-it-128k)

Here is a ready-to-run fine-tuning script utilizing Hugging Face transformers and trl:

from datasets import load_dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from trl import SFTTrainer, SFTConfig

model_id = "Kashif786/gemma-4-E2B-it-text-only-128k-pruned"
tokenizer = AutoTokenizer.from_pretrained(model_id)

# 1. Load the dataset
dataset = load_dataset("Kashif786/Sindhi-Assistant-IFT-1500", "all", split="train")

# 2. Apply Gemma chat template
def format_prompts(example):
    return {"text": tokenizer.apply_chat_template(example["messages"], tokenize=False)}

dataset = dataset.map(format_prompts)

# 3. Configure training arguments
sft_config = SFTConfig(
    output_dir="./sindhi-gemma-sft",
    max_seq_length=4096,
    per_device_train_batch_size=2,
    gradient_accumulation_steps=8,
    learning_rate=2e-5,
    num_train_epochs=3,
    logging_steps=10,
    save_strategy="epoch",
    fp16=True,
    dataset_text_field="text"
)

# 4. Initialize model & trainer
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
trainer = SFTTrainer(
    model=model,
    train_dataset=dataset,
    args=sft_config
)

trainer.train()

🔍 Quality Assurance & Sanitization Pipeline

  1. Strict ASCII Digits Rule:
    All numeric entities across all 654,305 words are standardized to international ASCII digits 0-9. A regex audit for Eastern Arabic-Indic digits ([\u0660-\u0669\u06f0-\u06f9]) returns exactly 0 occurrences.
  2. Deterministic Role Alternation:
    Every conversation begins with role: user, strictly alternates between user and assistant, and terminates on role: assistant. Consecutive identical turns were merged and dangling turns resolved.
  3. Orthographic Standardization:
    All Sindhi text is normalized to eliminate Unicode character collisions across Perso-Arabic codepoints (standardizing Kaf ڪ, Heh ه, and Yeh ي).

📜 Citation

If you use this dataset in your research, evaluations, or model fine-tuning, please cite:

@dataset{kashif2026sindhi_ift,
  author       = {Kashif Ali},
  title        = {Sindhi Assistant IFT 1,500: Grounded Instruction & Cultural Roleplay Dataset},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/Kashif786/Sindhi-Assistant-IFT-1500}}
}

👤 Author & Acknowledgments

Downloads last month
47

Models trained or fine-tuned on Kashif786/Sindhi-Assistant-IFT-1500