AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Text

    SQuAD (2016)

    100k+ questions about Wikipedia paragraphs; the answer is a span of the text.

    Why it matters

    The benchmark of the "reading comprehension" era. Its public leaderboard drove a fast run of attention models (BiDAF and others) and then BERT, whose ensembles passed the human baseline in 2018. Framing QA as span selection is still common in information extraction.

    Get the data

    # pip install -U huggingface_hub
    hf download rajpurkar/squad --repo-type dataset \
      --local-dir squad
    Year
    2016
    Creators
    Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, Percy Liang (Stanford)
    Task
    Extractive question answering (reading comprehension)
    Size
    107,785 questions on 536 Wikipedia articles (98,169 public)
    Splits
    train 87,599 · validation 10,570
    Input
    A Wikipedia paragraph and a question about it
    Labels
    Answer text and its character offset in the paragraph
    License
    CC BY-SA 4.0
    Paper
    SQuAD: 100,000+ Questions for Machine Comprehension of Text

    Samples

    Showing 3 of 16 sampled rows(from 10,570 in the validation split)
    Fresno, California

    How many people lived in Fresno in 2000, according to the Census Bureau?

    As of the census of 2000, there were 427,652 people, 140,079 households, and 97,915 families residing in the city. The population density was 4,097.9 people per square mile (1,582.2/km²). There were 149,025 housing units at an average density of 1,427.9 square miles (3,698 km2). The racial makeup of the city was 50.2% White, 8.4% Black or African American, 1.6% Native American, 11.2% Asian (about a third of which is Hmong), 0.1% Pacific Islander, 23.4% from other races, and 5.2% from two or more races. Hispanic or Latino of any race were 39.9% of the population.

    Reference answers (3): 427,652

    Fresno, California

    Which park hosts the largest Civil War reenactment on the west coast?

    Fresno has three large public parks, two in the city limits and one in county land to the southwest. Woodward Park, which features the Shinzen Japanese Gardens, numerous picnic areas and several miles of trails, is in North Fresno and is adjacent to the San Joaquin River Parkway. Roeding Park, near Downtown Fresno, is home to the Fresno Chaffee Zoo, and Rotary Storyland and Playland. Kearney Park is the largest of the Fresno region's park system and is home to historic Kearney Mansion and plays host to the annual Civil War Revisited, the largest reenactment of the Civil War in the west coast of the U.S.

    Reference answers (3): Kearney Park

    United Methodist Church

    By the opening of the 2008 General Conference, what was the total UMC membership?

    By the opening of the 2008 General Conference, total UMC membership was estimated at 11.4 million, with about 7.9 million in the U.S. and 3.5 million overseas. Significantly, about 20% of the conference delegates were from Africa, with Filipinos and Europeans making up another 10%. During the conference, the delegates voted to finalize the induction of the Methodist Church of the Ivory Coast and its 700,000 members into the denomination. Given current trends in the UMC—with overseas churches growing, especially in Africa, and U.S. churches collectively losing about 1,000 members a week—it has been estimated that Africans will make up at least 30% of the delegates at the 2012 General Conference, and it is also possible that 40% of the delegates will be from outside the U.S. One Congolese bishop has estimated that typical Sunday attendance of the UMC is higher in his country than in the entire United States.

    Reference answers (3): 11.4 million

    What one record actually looks like (raw JSON, row 4784)
    {
      "answers": {
        "answer_start": [
          37,
          37,
          37
        ],
        "text": [
          "427,652",
          "427,652",
          "427,652"
        ]
      },
      "context": "As of the census of 2000, there were 427,652 people, 140,079 households, and 97,915 families residing in the city. The population density was 4,097.9 people per square mile (1,582.2/km²). There were 149,025 housing units at an average density of 1,427.9 square miles (3,698 km2). The racial makeup of the city was 50.2% White, 8.4% Black or African American, 1.6% Native American, 11.2% Asian (about a third of which is Hmong), 0.1% Pacific Islander, 23.4% from other races, and 5.2% from two or more races. Hispanic or Latino of any race were 39.9% of the population.",
      "id": "5725fabc89a1e219009ac128",
      "question": "How many people lived in Fresno in 2000, according to the Census Bureau? ",
      "title": "Fresno,_California"
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from rajpurkar/squad at revision 7b6d24c

    Worth knowing

    Related datasets

    Landmark papers