AhmadMustafa's picture
Update README.md
b428563 verified
metadata
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 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.

[ "اس دی گی ایک خبر سے متعلق ایک مضمون لکھیں۔
خبر: {}",
    "یہ خبر جو {} سے تعلق رکھتی ہے، اس پر ایک مضمون لکھیں۔
خبر: {}"
]

Translation:

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)

جی ضرور، یہ رہا آپ کی خبر سے متعلق ایک مضمون: 
{} 

Translation:

Sure, here is the article related to the given news
{}