Datasets:
Tasks:
Question Answering
Sub-tasks:
extractive-qa
Languages:
English
Size:
10K<n<100K
ArXiv:
License:
| pretty_name: SQuAD | |
| annotations_creators: | |
| - crowdsourced | |
| language_creators: | |
| - crowdsourced | |
| - found | |
| language: | |
| - en | |
| license: | |
| - cc-by-4.0 | |
| multilinguality: | |
| - monolingual | |
| size_categories: | |
| - 10K<n<100K | |
| source_datasets: | |
| - extended|wikipedia | |
| task_categories: | |
| - question-answering | |
| task_ids: | |
| - extractive-qa | |
| paperswithcode_id: squad | |
| train-eval-index: | |
| - config: plain_text | |
| task: question-answering | |
| task_id: extractive_question_answering | |
| splits: | |
| train_split: train | |
| eval_split: validation | |
| col_mapping: | |
| question: question | |
| context: context | |
| answers: | |
| text: text | |
| answer_start: answer_start | |
| metrics: | |
| - type: squad | |
| name: SQuAD | |
| dataset_info: | |
| features: | |
| - name: id | |
| dtype: string | |
| - name: title | |
| dtype: string | |
| - name: context | |
| dtype: string | |
| - name: question | |
| dtype: string | |
| - name: answers | |
| sequence: | |
| - name: text | |
| dtype: string | |
| - name: answer_start | |
| dtype: int32 | |
| config_name: plain_text | |
| splits: | |
| - name: train | |
| num_bytes: 79317110 | |
| num_examples: 87599 | |
| - name: validation | |
| num_bytes: 10472653 | |
| num_examples: 10570 | |
| download_size: 35142551 | |
| dataset_size: 89789763 | |
| # Dataset Card for "squad" | |
| ## Table of Contents | |
| - [Dataset Card for "squad"](#dataset-card-for-squad) | |
| - [Table of Contents](#table-of-contents) | |
| - [Dataset Description](#dataset-description) | |
| - [Dataset Summary](#dataset-summary) | |
| - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards) | |
| - [Languages](#languages) | |
| - [Dataset Structure](#dataset-structure) | |
| - [Data Instances](#data-instances) | |
| - [plain_text](#plain_text) | |
| - [Data Fields](#data-fields) | |
| - [plain_text](#plain_text-1) | |
| - [Data Splits](#data-splits) | |
| - [Dataset Creation](#dataset-creation) | |
| - [Curation Rationale](#curation-rationale) | |
| - [Source Data](#source-data) | |
| - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization) | |
| - [Who are the source language producers?](#who-are-the-source-language-producers) | |
| - [Annotations](#annotations) | |
| - [Annotation process](#annotation-process) | |
| - [Who are the annotators?](#who-are-the-annotators) | |
| - [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 | |
| - **Homepage:** [https://rajpurkar.github.io/SQuAD-explorer/](https://rajpurkar.github.io/SQuAD-explorer/) | |
| - **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:** 35.14 MB | |
| - **Size of the generated dataset:** 89.92 MB | |
| - **Total amount of disk used:** 125.06 MB | |
| ### Dataset Summary | |
| Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a segment of text, or span, from the corresponding reading passage, or the question might be unanswerable. | |
| ### Supported Tasks and Leaderboards | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### Languages | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ## Dataset Structure | |
| ### Data Instances | |
| #### plain_text | |
| - **Size of downloaded dataset files:** 35.14 MB | |
| - **Size of the generated dataset:** 89.92 MB | |
| - **Total amount of disk used:** 125.06 MB | |
| An example of 'train' looks as follows. | |
| ``` | |
| { | |
| "answers": { | |
| "answer_start": [1], | |
| "text": ["This is a test text"] | |
| }, | |
| "context": "This is a test context.", | |
| "id": "1", | |
| "question": "Is this a test?", | |
| "title": "train test" | |
| } | |
| ``` | |
| ### Data Fields | |
| The data fields are the same among all splits. | |
| #### plain_text | |
| - `id`: a `string` feature. | |
| - `title`: a `string` feature. | |
| - `context`: a `string` feature. | |
| - `question`: a `string` feature. | |
| - `answers`: a dictionary feature containing: | |
| - `text`: a `string` feature. | |
| - `answer_start`: a `int32` feature. | |
| ### Data Splits | |
| | name |train|validation| | |
| |----------|----:|---------:| | |
| |plain_text|87599| 10570| | |
| ## Dataset Creation | |
| ### Curation Rationale | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### Source Data | |
| #### Initial Data Collection and Normalization | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| #### Who are the source language producers? | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### Annotations | |
| #### Annotation process | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| #### Who are the annotators? | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### 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 | |
| ### 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 | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### Other Known Limitations | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ## Additional Information | |
| ### Dataset Curators | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### Licensing Information | |
| [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) | |
| ### Citation Information | |
| ``` | |
| @article{2016arXiv160605250R, | |
| author = {{Rajpurkar}, Pranav and {Zhang}, Jian and {Lopyrev}, | |
| Konstantin and {Liang}, Percy}, | |
| title = "{SQuAD: 100,000+ Questions for Machine Comprehension of Text}", | |
| journal = {arXiv e-prints}, | |
| year = 2016, | |
| eid = {arXiv:1606.05250}, | |
| pages = {arXiv:1606.05250}, | |
| archivePrefix = {arXiv}, | |
| eprint = {1606.05250}, | |
| } | |
| ``` | |
| ### Contributions | |
| Thanks to [@lewtun](https://github.com/lewtun), [@albertvillanova](https://github.com/albertvillanova), [@patrickvonplaten](https://github.com/patrickvonplaten), [@thomwolf](https://github.com/thomwolf) for adding this dataset. |