--- --- # Dataset Card for "natural_questions" ## Table of Contents - [Dataset Description](#dataset-description) - [Dataset Summary](#dataset-summary) - [Supported Tasks](#supported-tasks) - [Languages](#languages) - [Dataset Structure](#dataset-structure) - [Data Instances](#data-instances) - [Data Fields](#data-fields) - [Data Splits Sample Size](#data-splits-sample-size) - [Dataset Creation](#dataset-creation) - [Curation Rationale](#curation-rationale) - [Source Data](#source-data) - [Annotations](#annotations) - [Personal and Sensitive Information](#personal-and-sensitive-information) - [Considerations for Using the Data](#considerations-for-using-the-data) - [Social Impact of Dataset](#social-impact-of-dataset) - [Discussion of Biases](#discussion-of-biases) - [Other Known Limitations](#other-known-limitations) - [Additional Information](#additional-information) - [Dataset Curators](#dataset-curators) - [Licensing Information](#licensing-information) - [Citation Information](#citation-information) - [Contributions](#contributions) ## [Dataset Description](#dataset-description) - **Homepage:** [https://ai.google.com/research/NaturalQuestions/dataset](https://ai.google.com/research/NaturalQuestions/dataset) - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) - **Size of downloaded dataset files:** 42981.34 MB - **Size of the generated dataset:** 95175.86 MB - **Total amount of disk used:** 138157.19 MB ### [Dataset Summary](#dataset-summary) The NQ corpus contains questions from real users, and it requires QA systems to read and comprehend an entire Wikipedia article that may or may not contain the answer to the question. The inclusion of real user questions, and the requirement that solutions should read an entire page to find the answer, cause NQ to be a more realistic and challenging task than prior QA datasets. ### [Supported Tasks](#supported-tasks) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Languages](#languages) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ## [Dataset Structure](#dataset-structure) We show detailed information for up to 5 configurations of the dataset. ### [Data Instances](#data-instances) #### default - **Size of downloaded dataset files:** 42981.34 MB - **Size of the generated dataset:** 95175.86 MB - **Total amount of disk used:** 138157.19 MB An example of 'train' looks as follows. ``` ``` ### [Data Fields](#data-fields) The data fields are the same among all splits. #### default - `id`: a `string` feature. - `title`: a `string` feature. - `url`: a `string` feature. - `html`: a `string` feature. - `tokens`: a dictionary feature containing: - `token`: a `string` feature. - `is_html`: a `bool` feature. - `text`: a `string` feature. - `tokens`: a `list` of `string` features. - `annotations`: a dictionary feature containing: - `id`: a `string` feature. - `start_token`: a `int64` feature. - `end_token`: a `int64` feature. - `start_byte`: a `int64` feature. - `end_byte`: a `int64` feature. - `short_answers`: a dictionary feature containing: - `start_token`: a `int64` feature. - `end_token`: a `int64` feature. - `start_byte`: a `int64` feature. - `end_byte`: a `int64` feature. - `text`: a `string` feature. - `yes_no_answer`: a classification label, with possible values including `NO` (0), `YES` (1). ### [Data Splits Sample Size](#data-splits-sample-size) | name |train |validation| |-------|-----:|---------:| |default|307373| 7830| ## [Dataset Creation](#dataset-creation) ### [Curation Rationale](#curation-rationale) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Source Data](#source-data) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Annotations](#annotations) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Personal and Sensitive Information](#personal-and-sensitive-information) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ## [Considerations for Using the Data](#considerations-for-using-the-data) ### [Social Impact of Dataset](#social-impact-of-dataset) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Discussion of Biases](#discussion-of-biases) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Other Known Limitations](#other-known-limitations) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ## [Additional Information](#additional-information) ### [Dataset Curators](#dataset-curators) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Licensing Information](#licensing-information) [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) ### [Citation Information](#citation-information) ``` @article{47761, title = {Natural Questions: a Benchmark for Question Answering Research}, author = {Tom Kwiatkowski and Jennimaria Palomaki and Olivia Redfield and Michael Collins and Ankur Parikh and Chris Alberti and Danielle Epstein and Illia Polosukhin and Matthew Kelcey and Jacob Devlin and Kenton Lee and Kristina N. Toutanova and Llion Jones and Ming-Wei Chang and Andrew Dai and Jakob Uszkoreit and Quoc Le and Slav Petrov}, year = {2019}, journal = {Transactions of the Association of Computational Linguistics} } ``` ### Contributions Thanks to [@thomwolf](https://github.com/thomwolf), [@lhoestq](https://github.com/lhoestq) for adding this dataset.