Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
Aya_Tamil / README.md
AdithyaSK's picture
Update README.md
ed82fa8 verified
metadata
dataset_info:
  - config_name: complete_dataset
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 4808907428
        num_examples: 3582574
    download_size: 1449098594
    dataset_size: 4808907428
  - config_name: templated_indic_sentiment
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 821843
        num_examples: 1156
    download_size: 321367
    dataset_size: 821843
  - config_name: templated_tamil_stories
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 14555943
        num_examples: 1202
    download_size: 4886244
    dataset_size: 14555943
  - config_name: templated_tamil_thirukkural
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 7722387
        num_examples: 3990
    download_size: 1430774
    dataset_size: 7722387
  - config_name: templated_xlel_wd
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 6423580
        num_examples: 3861
    download_size: 2194151
    dataset_size: 6423580
  - config_name: translated_adversarial_qa
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 27100085
        num_examples: 10000
    download_size: 6134878
    dataset_size: 27100085
  - config_name: translated_cnn_dailymail
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 725255684
        num_examples: 100000
    download_size: 245351920
    dataset_size: 725255684
  - config_name: translated_dolly
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 36095149
        num_examples: 14808
    download_size: 12765749
    dataset_size: 36095149
  - config_name: translated_flan_coqa
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 47190884
        num_examples: 6409
    download_size: 16643233
    dataset_size: 47190884
  - config_name: translated_flan_cot
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 116616264
        num_examples: 91910
    download_size: 37692925
    dataset_size: 116616264
  - config_name: translated_flan_gem_wiki
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 185434422
        num_examples: 27147
    download_size: 60004679
    dataset_size: 185434422
  - config_name: translated_flan_lambada
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 3401706
        num_examples: 4279
    download_size: 1159040
    dataset_size: 3401706
  - config_name: translated_flan_qa
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 499647
        num_examples: 540
    download_size: 165535
    dataset_size: 499647
  - config_name: translated_hotpotqa
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 193362032
        num_examples: 355476
    download_size: 53713487
    dataset_size: 193362032
  - config_name: translated_joke_explaination
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 1634648
        num_examples: 754
    download_size: 329076
    dataset_size: 1634648
  - config_name: translated_mintaka
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 6282071
        num_examples: 14000
    download_size: 1012425
    dataset_size: 6282071
  - config_name: translated_nqopen
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 60333480
        num_examples: 175850
    download_size: 15785046
    dataset_size: 60333480
  - config_name: translated_paws
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 53414859
        num_examples: 49401
    download_size: 6714953
    dataset_size: 53414859
  - config_name: translated_piqa
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 20835853
        num_examples: 16113
    download_size: 5428019
    dataset_size: 20835853
  - config_name: translated_soda
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 1134110413
        num_examples: 1191582
    download_size: 300845773
    dataset_size: 1134110413
  - config_name: translated_wiki_split
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 1194234452
        num_examples: 989944
    download_size: 338917207
    dataset_size: 1194234452
  - config_name: translated_wikiqa
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 832810
        num_examples: 1040
    download_size: 280200
    dataset_size: 832810
  - config_name: translated_xlel_wd
    features:
      - name: id
        dtype: int64
      - name: task_type
        dtype: string
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: targets
        dtype: string
      - name: split
        dtype: string
      - name: script
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 972749216
        num_examples: 523112
    download_size: 337128275
    dataset_size: 972749216
configs:
  - config_name: complete_dataset
    data_files:
      - split: train
        path: complete_dataset/train-*
  - config_name: templated_indic_sentiment
    data_files:
      - split: train
        path: templated_indic_sentiment/train-*
  - config_name: templated_tamil_stories
    data_files:
      - split: train
        path: templated_tamil_stories/train-*
  - config_name: templated_tamil_thirukkural
    data_files:
      - split: train
        path: templated_tamil_thirukkural/train-*
  - config_name: templated_xlel_wd
    data_files:
      - split: train
        path: templated_xlel_wd/train-*
  - config_name: translated_adversarial_qa
    data_files:
      - split: train
        path: translated_adversarial_qa/train-*
  - config_name: translated_cnn_dailymail
    data_files:
      - split: train
        path: translated_cnn_dailymail/train-*
  - config_name: translated_dolly
    data_files:
      - split: train
        path: translated_dolly/train-*
  - config_name: translated_flan_coqa
    data_files:
      - split: train
        path: translated_flan_coqa/train-*
  - config_name: translated_flan_cot
    data_files:
      - split: train
        path: translated_flan_cot/train-*
  - config_name: translated_flan_gem_wiki
    data_files:
      - split: train
        path: translated_flan_gem_wiki/train-*
  - config_name: translated_flan_lambada
    data_files:
      - split: train
        path: translated_flan_lambada/train-*
  - config_name: translated_flan_qa
    data_files:
      - split: train
        path: translated_flan_qa/train-*
  - config_name: translated_hotpotqa
    data_files:
      - split: train
        path: translated_hotpotqa/train-*
  - config_name: translated_joke_explaination
    data_files:
      - split: train
        path: translated_joke_explaination/train-*
  - config_name: translated_mintaka
    data_files:
      - split: train
        path: translated_mintaka/train-*
  - config_name: translated_nqopen
    data_files:
      - split: train
        path: translated_nqopen/train-*
  - config_name: translated_paws
    data_files:
      - split: train
        path: translated_paws/train-*
  - config_name: translated_piqa
    data_files:
      - split: train
        path: translated_piqa/train-*
  - config_name: translated_soda
    data_files:
      - split: train
        path: translated_soda/train-*
  - config_name: translated_wiki_split
    data_files:
      - split: train
        path: translated_wiki_split/train-*
  - config_name: translated_wikiqa
    data_files:
      - split: train
        path: translated_wikiqa/train-*
  - config_name: translated_xlel_wd
    data_files:
      - split: train
        path: translated_xlel_wd/train-*
license: apache-2.0
language:
  - en
  - ta

Aya_Tamil

This Dataset is curated from the original Aya-Collection dataset that was open-sourced by Cohere under the Apache-2.0 license. The Aya Collection is a massive multilingual collection comprising 513 million instances of prompts and completions that cover a wide range of tasks. This collection uses instruction-style templates from fluent speakers and applies them to a curated list of datasets. It also includes translations of instruction-style datasets into 101 languages. The Aya Dataset, a human-curated multilingual instruction and response dataset, is part of this collection. Refer to our paper for more details about the collection.

Motivations & Intentions

The original dataset is large and more task-specific than language-specific. To carry out a task specific to the Indic language, one would previously have needed to download the entire dataset (~600 GB) and filter it. As we were training an Indic LLm internally, we filtered the dataset by language and curated this dataset. You can find all the Indic-language specific datasets - here.

Data Instances

An example of a train instance looks as follows:

{'id': 246001,
 'inputs': 'The following query in English is taken from the geography category. What could be the answer to the question?\nWhat is the seventh tallest mountain in North America?',
 'targets': 'The answer is Mount Lucania.',
 'dataset_name': 'Mintaka-inst',
 'sub_dataset_name': '-',
 'task_type': 'question-answering',
 'template_id': 3,
 'language': 'eng',
 'split': 'train',
 'script': 'Latn'
}

Data Fields

The data fields are the same among all splits:

  • id: Unique id of the data point
  • inputs: Prompt or input to the language model.
  • targets: Completion or output of the language model.
  • dataset_name: The name of the source dataset that the data point was taken from
  • sub_dataset_name: If the source is a collection, this field indicates which part of that collection the data point was taken from. If it is not a collection, this field is left blank.
  • task_type: The task type that this conversation belongs to.
  • template_id: The id of the template applied to this data point.
  • language: The ISO code of the dialect of the conversation.
  • script: The script of the language.
  • split: Indicates whether the data point is part of the train or the test split.

Licensing Information

This dataset can be used for any purpose, whether academic or commercial, under the terms of the Apache 2.0 License.

Citation

@misc{singh2024aya,
      title={Aya Dataset: An Open-Access Collection for Multilingual Instruction Tuning}, 
      author={Shivalika Singh and Freddie Vargus and Daniel Dsouza and Börje F. Karlsson and Abinaya Mahendiran and Wei-Yin Ko and Herumb Shandilya and Jay Patel and Deividas Mataciunas and Laura OMahony and Mike Zhang and Ramith Hettiarachchi and Joseph Wilson and Marina Machado and Luisa Souza Moura and Dominik Krzemiński and Hakimeh Fadaei and Irem Ergün and Ifeoma Okoh and Aisha Alaagib and Oshan Mudannayake and Zaid Alyafeai and Vu Minh Chien and Sebastian Ruder and Surya Guthikonda and Emad A. Alghamdi and Sebastian Gehrmann and Niklas Muennighoff and Max Bartolo and Julia Kreutzer and Ahmet Üstün and Marzieh Fadaee and Sara Hooker},
      year={2024},
      eprint={2402.06619},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}