File size: 1,743 Bytes
7f6de58
4bc0438
 
 
 
 
 
 
 
7f6de58
 
 
 
 
 
c146b96
4bc0438
 
 
7f6de58
 
c146b96
7f6de58
 
c146b96
7f6de58
c146b96
 
4bc0438
 
 
 
 
 
 
7f6de58
 
 
efcba87
 
 
 
 
 
 
 
 
 
b428563
efcba87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
language:
- ur
size_categories:
- 100K<n<1M
task_categories:
- text-generation
- text2text-generation
pretty_name: Instruct News Article Generation 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: 257489376
    num_examples: 100674
  - name: test
    num_bytes: 28303926
    num_examples: 11187
  download_size: 121675545
  dataset_size: 285793302
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
---
# Dataset Card for "Urdu-Instruct-News-Article-Generation"

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 Article from the given headline.

## Split Size:
- train: 100674
- test: 11187

## Prompt Template (In Urdu):
Random.choice b.w these 2. The First template is **template_id** 1 and the second template is **template_id** 2 in the dataset.
```
[ "اس دی گی ایک خبر سے متعلق ایک مضمون لکھیں۔
خبر: {}",
    "یہ خبر جو {} سے تعلق رکھتی ہے، اس پر ایک مضمون لکھیں۔
خبر: {}"
]
```
<b>Translation</b>:
```
1. Write an article from the given news.
news: {}
2. Given the news belonging to category {}, write an article on it.
news: {}
```
## Completion Template (In Urdu)
```
جی ضرور، یہ رہا آپ کی خبر سے متعلق ایک مضمون: 
{} 
```
<b>Translation</b>:
```
Sure, here is the article related to the given news
{}
```