|
--- |
|
language: |
|
- ur |
|
size_categories: |
|
- 100K<n<1M |
|
task_categories: |
|
- text-classification |
|
- text-generation |
|
- text2text-generation |
|
pretty_name: Instruct News Category Classification Urdu |
|
dataset_info: |
|
features: |
|
- name: inputs |
|
dtype: string |
|
- name: targets |
|
dtype: string |
|
- name: template_id |
|
dtype: int64 |
|
- name: template_lang |
|
sequence: string |
|
splits: |
|
- name: train |
|
num_bytes: 261557910 |
|
num_examples: 100674 |
|
- name: test |
|
num_bytes: 29048190 |
|
num_examples: 11187 |
|
download_size: 116629288 |
|
dataset_size: 290606100 |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- split: train |
|
path: data/train-* |
|
- split: test |
|
path: data/test-* |
|
--- |
|
# Dataset Card for "Urdu-Instruct-News-Category-Classification" |
|
|
|
This Dataset is converted from the [original dataset](https://data.mendeley.com/datasets/834vsxnb99/3) by Khalid Hussain, Nimra Mughal, Irfan Ali, Saif Hassan, Sher Muhammad Daudpota. |
|
|
|
## Task: |
|
Generate the News Paragraph, and classify the news category from it. |
|
|
|
## Split Size: |
|
- train: 100674 |
|
- test: 11187 |
|
|
|
## Prompt Template (In Urdu): |
|
Random.choice b.w these 2. The first template is **template_id** 1 in the dataset, second template is **template_id** 2 in the dataset. |
|
``` |
|
["""اس پیراگراف (خبروں) کو مندرجہ ذیل درجوں (کیٹگریز) میں سے ایک کیٹگری میں ڈالیں. |
|
درجے: |
|
- کھیل |
|
- تفریح، |
|
- کاروبار و معیشت، |
|
- سائنس اور ٹیکنالوجی |
|
|
|
پیراگراف: {}""", |
|
|
|
"""دیے گی خبروں کو ایک لفظ یا درجہ (کیٹگری) میں بیان کریں. |
|
درجے: |
|
- کھیل |
|
- تفریح، |
|
- کاروبار و معیشت، |
|
- سائنس اور ٹیکنالوجی |
|
|
|
جملے: {}"""] |
|
``` |
|
<b>Translation</b>: |
|
``` |
|
[Classify the given paragraph (news article) into one of the following categories: |
|
1. Sports |
|
2. Entertainment |
|
3. Business & Economics |
|
4. Science & Technology |
|
paragraph: {}, |
|
|
|
Classify the given news paragraph into one of the following categories: |
|
1. Sports |
|
2. Entertainment |
|
3. Business & Economics |
|
4. Science & Technology |
|
sentences: {}] |
|
``` |
|
## Completion Template (In Urdu) |
|
``` |
|
یہ دی گی خبریں {} سے تعلق رکھتی ہیں |
|
``` |
|
<b>Translation</b>: |
|
``` |
|
The given news belong to the {category} |
|
``` |