SQuAD 1.1 Dataset

SQuAD 1.1 Reading Comprehension
Dataset

The Stanford Question Answering Dataset contains 107,785 question-answer pairs based on Wikipedia, making it the most influential benchmark dataset in the field of extractive reading comprehension.

107,785 question-answer pairs 536 Wikipedia articles CC BY-SA 4.0 License Rajpurkar et al. (2016)
SQuAD 1.1 Dataset
📊
107,785
Total Question-Answer Pairs
📰
536
Wikipedia Articles
📝
23,215
Number of Paragraphs
📜
CC BY-SA 4.0
Open License Agreement

Dataset Highlights

The most influential reading comprehension benchmark in the NLP field, driving the rapid development of pre-trained language models

📖

Extractive Question Answering

Answers are directly sourced from contiguous text segments in the paragraph, requiring the model to accurately locate the start and end positions of the answer, with clear and objective evaluation criteria.

🌐

Wikipedia Corpus

Constructed from 536 high-quality Wikipedia articles, covering diverse topics such as history, science, technology, and geography, with excellent language and knowledge diversity.

👥

Crowdsourced Annotation

Questions and answers are proposed and annotated by crowdsourced workers based on paragraph content through the Amazon Mechanical Turk platform, ensuring natural and diverse questions.

🏆

Authoritative Benchmark

The SQuAD leaderboard is one of the most closely watched benchmarks in the NLP community, where milestone models like BERT, XLNet, and ALBERT validate performance breakthroughs.

🔬

Stanford NLP Production

Published by Rajpurkar et al. in 2016 at EMNLP, produced by the Stanford University NLP lab, with high academic influence and citation volume.

🔄

Cornerstone of Transfer Learning

Widely used for validating the pre-training-fine-tuning paradigm, BERT's groundbreaking performance on SQuAD ushered in a new era of NLP transfer learning.

Applicable Scenarios

From academic research to industrial applications, SQuAD has always been the preferred choice for evaluating reading comprehension abilities

🤖

Extractive Question Answering

Train models to accurately extract answer segments from given paragraphs, building intelligent Q&A systems and customer service robots

📚

Reading Comprehension

Evaluate the deep understanding capabilities of language models on text, used for automated grading, document analysis, and information retrieval

🔁

Transfer Learning

As a standard dataset for fine-tuning downstream tasks, validate the generalization performance of pre-trained models like BERT and GPT

🧠

Model Fine-tuning

Fine-tune large language models on SQuAD tasks to improve the model's accuracy and reasoning ability in specific domains

Reading Comprehension Extractive Question Answering Wikipedia Stanford NLP Benchmark Dataset

Data Preview

The following is an example from the SQuAD 1.1 dataset, showcasing the structure of paragraphs, questions, and answers

JSON
{
  "title": "University_of_Notre_Dame",
  "paragraphs": [
    {
      "context": "Architecturally, the school has a Catholic character.
        Atop the Main Building's gold dome is a golden statue
        of the Virgin Mary. Immediately in front of the Main
        Building and facing it, is a copper statue of Christ
        with arms upraised with the legend "Venite Ad Me
        Omnes". Next to the Main Building is the Basilica
        of the Sacred Heart.",
      "qas": [
        {
          "question": "To whom did the Virgin Mary allegedly
            appear in 1858 in Lourdes France?",
          "id": "5733be284776f41900661182",
          "answers": [
            {
              "text": "Saint Bernadette Soubirous",
              "answer_start": 515
            }
          ]
        },
        {
          "question": "What is in front of the Notre Dame
            Main Building?",
          "id": "5733be284776f4190066117f",
          "answers": [
            {
              "text": "a copper statue of Christ",
              "answer_start": 188
            }
          ]
        }
      ]
    }
  ]
}

3 Steps to Get Started Quickly

Start your NLP research in minutes, from browsing to modeling

01

Browse Datasets

View dataset details on the Ace Data Cloud platform, understand metadata such as data structure, sample size, and licensing agreements.

02

Download Data

Obtain the SQuAD 1.1 training and validation JSON files, with standardized data format, ready to use.

03

Load and Model

Use datasets.load_dataset("squad") to load the data and start training the extractive question-answering model.

Start Exploring the SQuAD 1.1 Dataset

The most classic reading comprehension benchmark in the NLP field, open license, download now. Whether you are researching pre-trained models or building question-answering systems, SQuAD is an indispensable choice.