copenlu/answerable_tydiqa
Dataset Card for "answerable-tydiqa" Dataset Summary TyDi QA is a question answering dataset covering 11 typologically diverse languages. Answerable TyDi QA is an extension of the GoldP subtask of the original TyDi QA dataset to also include unanswertable questions. Dataset Structure The dataset contains a train and a validation set, with 116067 and 13325 examples, respectively. Access them with from datasets import load_dataset dataset =… See the full description on the dataset page: https://huggingface.co/datasets/copenlu/answerable_tydiqa.
Dataset Card for "answerable-tydiqa"
Dataset Description
- Homepage: https://github.com/google-research-datasets/tydiqa
- Paper: Paper
- Size of downloaded dataset files: 75.43 MB
- Size of the generated dataset: 131.78 MB
- Total amount of disk used: 207.21 MB
Dataset Summary
TyDi QA is a question answering dataset covering 11 typologically diverse languages. Answerable TyDi QA is an extension of the GoldP subtask of the original TyDi QA dataset to also include unanswertable questions.
Dataset Structure
The dataset contains a train and a validation set, with 116067 and 13325 examples, respectively. Access them with
from datasets import load_dataset
dataset = load_dataset("copenlu/answerable_tydiqa")
train_set = dataset["train"]
validation_set = dataset["validation"]Data Instances
Here is an example of an instance of the dataset:
{'question_text': 'dimanakah Dr. Ernest François Eugène Douwes Dekker meninggal?',
'document_title': 'Ernest Douwes Dekker',
'language': 'indonesian',
'annotations':
{'answer_start': [45],
'answer_text': ['28 Agustus 1950']
},
'document_plaintext': 'Ernest Douwes Dekker wafat dini hari tanggal 28 Agustus 1950 (tertulis di batu nisannya; 29 Agustus 1950 versi van der Veur, 2006) dan dimakamkan di TMP Cikutra, Bandung.',
'document_url': 'https://id.wikipedia.org/wiki/Ernest%20Douwes%20Dekker'}Description of the dataset columns:
Notice: If the question is answerable, annotations["answerstart"] and annotations["answertext"] contain a list of length 1 (In some variations of the dataset the lists might be longer, e.g. if more than one person annotated the instance, but not in our case). If the question is unanswerable, annotations["answerstart"] will have "-1", while annotations["answertext"] contain a list with an empty string.
Useful stuff
Check out the datasets ducumentations to learn how to manipulate and use the dataset. Specifically, you might find the following functions useful:
dataset.filter, for filtering out data (useful for keeping instances of specific languages, for example).
dataset.map, for manipulating the dataset.
dataset.to_pandas, to convert the dataset into a pandas.DataFrame format.
@article{tydiqa,
title = {TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languages},
author = {Jonathan H. Clark and Eunsol Choi and Michael Collins and Dan Garrette and Tom Kwiatkowski and Vitaly Nikolaev and Jennimaria Palomaki}
year = {2020},
journal = {Transactions of the Association for Computational Linguistics}
}
Contributions
Thanks to @thomwolf, @albertvillanova, @lewtun, @patrickvonplaten for adding this dataset.
