Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
Aya_Malayalam / README.md
AdithyaSK's picture
Update README.md
5bf406d verified
metadata
dataset_info:
  - config_name: complete_dataset
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 4620114817
        num_examples: 3576211
    download_size: 1460336793
    dataset_size: 4620114817
  - config_name: templated_indic_paraphrase
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 802090
        num_examples: 1001
    download_size: 265061
    dataset_size: 802090
  - config_name: templated_indic_sentiment
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 826377
        num_examples: 1156
    download_size: 326454
    dataset_size: 826377
  - config_name: templated_xlel_wd
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 2871116
        num_examples: 1689
    download_size: 1060347
    dataset_size: 2871116
  - config_name: translated_adversarial_qa
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 25814767
        num_examples: 10000
    download_size: 6284748
    dataset_size: 25814767
  - config_name: translated_cnn_dailymail
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 677030150
        num_examples: 100000
    download_size: 241050258
    dataset_size: 677030150
  - config_name: translated_dolly
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 35119170
        num_examples: 14808
    download_size: 13037728
    dataset_size: 35119170
  - config_name: translated_flan_coqa
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 47671952
        num_examples: 6409
    download_size: 17244180
    dataset_size: 47671952
  - config_name: translated_flan_cot
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 114447647
        num_examples: 91910
    download_size: 37991855
    dataset_size: 114447647
  - config_name: translated_flan_gem_wiki
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 192780434
        num_examples: 27147
    download_size: 64897862
    dataset_size: 192780434
  - config_name: translated_flan_lambada
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 3093841
        num_examples: 4279
    download_size: 1077008
    dataset_size: 3093841
  - config_name: translated_flan_qa
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 525363
        num_examples: 540
    download_size: 177982
    dataset_size: 525363
  - config_name: translated_hotpotqa
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 178593379
        num_examples: 355476
    download_size: 53833798
    dataset_size: 178593379
  - config_name: translated_joke_explaination
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 1591191
        num_examples: 754
    download_size: 311948
    dataset_size: 1591191
  - config_name: translated_mintaka
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 6449130
        num_examples: 14000
    download_size: 1045790
    dataset_size: 6449130
  - config_name: translated_nqopen
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 59860846
        num_examples: 175850
    download_size: 16531375
    dataset_size: 59860846
  - config_name: translated_paws
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 51863293
        num_examples: 49401
    download_size: 6932449
    dataset_size: 51863293
  - config_name: translated_piqa
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 20834854
        num_examples: 16113
    download_size: 5497560
    dataset_size: 20834854
  - config_name: translated_soda
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 1156977459
        num_examples: 1191582
    download_size: 318570546
    dataset_size: 1156977459
  - config_name: translated_wiki_split
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 1148240780
        num_examples: 989944
    download_size: 344485054
    dataset_size: 1148240780
  - config_name: translated_wikiqa
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 814069
        num_examples: 1040
    download_size: 283724
    dataset_size: 814069
  - config_name: translated_xlel_wd
    features:
      - name: id
        dtype: int64
      - name: split
        dtype: string
      - name: targets
        dtype: string
      - name: language
        dtype: string
      - name: template_id
        dtype: int64
      - name: inputs
        dtype: string
      - name: dataset_name
        dtype: string
      - name: script
        dtype: string
      - name: task_type
        dtype: string
      - name: sub_dataset_name
        dtype: string
    splits:
      - name: train
        num_bytes: 893906909
        num_examples: 523112
    download_size: 328997341
    dataset_size: 893906909
configs:
  - config_name: complete_dataset
    data_files:
      - split: train
        path: complete_dataset/train-*
  - config_name: templated_indic_paraphrase
    data_files:
      - split: train
        path: templated_indic_paraphrase/train-*
  - config_name: templated_indic_sentiment
    data_files:
      - split: train
        path: templated_indic_sentiment/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
  - ml

Aya_Malayalam

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}
}