AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Text Retrieval

    Natural Questions (2019)

    Real Google search questions, each answered by an annotator with a paragraph and a short span from Wikipedia.

    Why it matters

    Questions written by people who already see the answer, as in SQuAD, share its words. Natural Questions used what people actually asked Google, and annotators then searched a Wikipedia page for the answer. Its open-domain version (NQ-Open), with only the question and short answers, became the benchmark that started modern retrieval: ORQA, REALM, DPR and RAG all measured how well a model finds the right passage in all of Wikipedia and answers from it, which is the recipe behind retrieval-augmented LLMs.

    Get the data

    # pip install -U huggingface_hub
    hf download google-research-datasets/natural_questions --repo-type dataset \
      --local-dir natural-questions

    The full dataset includes each Wikipedia page as HTML and tokens (about 40 GB). The samples come from cjlovering/natural-questions-short, which keeps the answer paragraph and span; the open-domain version is google-research-datasets/nq_open.

    Year
    2019
    Creators
    Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Kenton Lee, Kristina Toutanova, Jacob Devlin, Slav Petrov and others (Google)
    Task
    Open-domain question answering from Wikipedia
    Size
    323,045 questions with their Wikipedia pages
    Splits
    train 307,373 · validation 7,830 · test 7,842
    Input
    An anonymized Google query and a Wikipedia page from the top search results
    Labels
    A long answer (usually a paragraph) and a short answer (a span, or yes/no), or none
    License
    CC BY-SA 3.0
    Paper
    Natural Questions: A Benchmark for Question Answering Research

    Samples

    Showing 3 of 12 sampled rows(from 871 in the validation split)
    Card security code

    what is a cvv code on a visa gift card

    A card security code ( CSC ; also called card verification data ( CVD ) , card verification number , card verification value ( CVV ) , card verification value code , card verification code ( CVC ) , verification code ( V - code or V code ) , or signature panel code ( SPC ) ) is a security feature for `` card not present '' payment card transactions instituted to reduce the incidence of credit card fraud .

    Reference answers (1): a security feature for `` card not present '' payment card transactions instituted to reduce the incidence of credit card fraud

    Tavarez

    where does the last name tavarez come from

    Tavarez is a Spanish surname , the Portuguese version of this surname is Tavares . It may refer to :

    Reference answers (1): Spanish

    Got My Mind Set on You

    who sings got my mind set on you

    `` Got My Mind Set on You '' is a song written and composed by Rudy Clark and originally recorded by James Ray in 1962 , under the title `` I 've Got My Mind Set on You '' . An edited version of the song was released later in the year as a single on the Dynamic Sound label . In 1987 , George Harrison released a cover version of the song as a single , and released it on his album Cloud Nine , which he had recorded on his own Dark Horse Records label .

    Reference answers (1): James Ray in 1962 , under the title `` I 've Got My Mind Set on You '' . An edited version of the song was released later in the year as a single on the Dynamic Sound label . In 1987 , George Harrison

    What one record actually looks like (raw JSON, row 223)
    {
      "answers": [
        {
          "candidate_id": 0,
          "input_text": "short",
          "span_end": 406,
          "span_start": 279,
          "span_text": "a security feature for `` card not present '' payment card transactions instituted to reduce the incidence of credit card fraud"
        }
      ],
      "contexts": "A card security code ( CSC ; also called card verification data ( CVD ) , card verification number , card verification value ( CVV ) , card verification value code , card verification code ( CVC ) , verification code ( V - code or V code ) , or signature panel code ( SPC ) ) is a security feature for `` card not present '' payment card transactions instituted to reduce the incidence of credit card fraud .",
      "has_correct_context": true,
      "id": "-4463524755977549691",
      "name": "Card security code",
      "questions": [
        {
          "input_text": "what is a cvv code on a visa gift card"
        }
      ]
    }

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

    Sampled 2026-11-08 from cjlovering/natural-questions-short at revision 1c02273

    Worth knowing

    Related datasets

    Landmark papers