Datasets:

Modalities:
Text
Formats:
parquet
Sub-tasks:
extractive-qa
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
squad / README.md
albertvillanova's picture
Update dataset card (#8)
7b6d24c verified
|
raw
history blame
7.62 kB
metadata
annotations_creators:
  - crowdsourced
language_creators:
  - crowdsourced
  - found
language:
  - en
license: cc-by-sa-4.0
multilinguality:
  - monolingual
size_categories:
  - 10K<n<100K
source_datasets:
  - extended|wikipedia
task_categories:
  - question-answering
task_ids:
  - extractive-qa
paperswithcode_id: squad
pretty_name: SQuAD
dataset_info:
  config_name: plain_text
  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
  splits:
    - name: train
      num_bytes: 79346108
      num_examples: 87599
    - name: validation
      num_bytes: 10472984
      num_examples: 10570
  download_size: 16278203
  dataset_size: 89819092
configs:
  - config_name: plain_text
    data_files:
      - split: train
        path: plain_text/train-*
      - split: validation
        path: plain_text/validation-*
    default: true
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 Card for SQuAD

Table of Contents

Dataset Description

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.

SQuAD 1.1 contains 100,000+ question-answer pairs on 500+ articles.

Supported Tasks and Leaderboards

Question Answering.

Languages

English (en).

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

Source Data

Initial Data Collection and Normalization

More Information Needed

Who are the source language producers?

More Information Needed

Annotations

Annotation process

More Information Needed

Who are the annotators?

More Information Needed

Personal and Sensitive Information

More Information Needed

Considerations for Using the Data

Social Impact of Dataset

More Information Needed

Discussion of Biases

More Information Needed

Other Known Limitations

More Information Needed

Additional Information

Dataset Curators

More Information Needed

Licensing Information

The dataset is distributed under the CC BY-SA 4.0 license.

Citation Information

@inproceedings{rajpurkar-etal-2016-squad,
    title = "{SQ}u{AD}: 100,000+ Questions for Machine Comprehension of Text",
    author = "Rajpurkar, Pranav  and
      Zhang, Jian  and
      Lopyrev, Konstantin  and
      Liang, Percy",
    editor = "Su, Jian  and
      Duh, Kevin  and
      Carreras, Xavier",
    booktitle = "Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2016",
    address = "Austin, Texas",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/D16-1264",
    doi = "10.18653/v1/D16-1264",
    pages = "2383--2392",
    eprint={1606.05250},
    archivePrefix={arXiv},
    primaryClass={cs.CL},
}

Contributions

Thanks to @lewtun, @albertvillanova, @patrickvonplaten, @thomwolf for adding this dataset.