The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    ValueError
Message:      Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('arrow', {}), NamedSplit('validation'): ('json', {})}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 55, in compute_config_names_response
                  for config in sorted(get_dataset_config_names(path=dataset, token=hf_token))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 351, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1495, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1472, in dataset_module_factory
                  return HubDatasetModuleFactoryWithoutScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1042, in get_module
                  module_name, default_builder_kwargs = infer_module_for_data_files(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 513, in infer_module_for_data_files
                  raise ValueError(f"Couldn't infer the same data file format for all splits. Got {split_modules}")
              ValueError: Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('arrow', {}), NamedSplit('validation'): ('json', {})}

Need help to make the dataset viewer work? Open a discussion for direct support.

Dataset Card for Natural Questions

Dataset Summary

The NQ corpus contains questions from real users, and it requires QA systems to read and comprehend an entire Wikipedia article that may or may not contain the answer to the question. The inclusion of real user questions, and the requirement that solutions should read an entire page to find the answer, cause NQ to be a more realistic and challenging task than prior QA datasets.

Supported Tasks and Leaderboards

More Information Needed

Languages

More Information Needed

Dataset Structure

Data Instances

default

  • Size of downloaded dataset files: 42981 MB
  • Size of the generated dataset: 139706 MB
  • Total amount of disk used: 182687 MB

An example of 'train' looks as follows.


Data Fields

The data fields are the same among all splits.

default

"id": datasets.Value("string"),
"document": {
    "title": datasets.Value("string"),
    "url": datasets.Value("string"),
    "html": datasets.Value("string"),
    "tokens": datasets.features.Sequence(
        {
            "token": datasets.Value("string"),
        "is_html": datasets.Value("bool"),  
            "start_byte": datasets.Value("int64"),
        "end_byte": datasets.Value("int64"),
    }
    ),
},
"question": {
    "text": datasets.Value("string"),
    "tokens": datasets.features.Sequence(datasets.Value("string")),
},
"long_answer_candidates": datasets.features.Sequence(
    {
        "start_token": datasets.Value("int64"),
        "end_token": datasets.Value("int64"),
        "start_byte": datasets.Value("int64"),
        "end_byte": datasets.Value("int64"),
        "top_level": datasets.Value("bool"),
    }
),
"annotations": datasets.features.Sequence(
    {
        "id": datasets.Value("string"),
        "long_answer": {
            "start_token": datasets.Value("int64"),
            "end_token": datasets.Value("int64"),
            "start_byte": datasets.Value("int64"),
            "end_byte": datasets.Value("int64"),
            "candidate_index": datasets.Value("int64")
        },
        "short_answers": datasets.features.Sequence(
            {
                "start_token": datasets.Value("int64"),
                "end_token": datasets.Value("int64"),
                "start_byte": datasets.Value("int64"),
                "end_byte": datasets.Value("int64"),
                "text": datasets.Value("string"),
            }
        ),
        "yes_no_answer": datasets.features.ClassLabel(
            names=["NO", "YES"]
        ),  # Can also be -1 for NONE.
    }
)

Data Splits

name train validation
default 307373 7830
dev N/A 7830

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

Creative Commons Attribution-ShareAlike 3.0 Unported.

Citation Information


@article{47761,
title	= {Natural Questions: a Benchmark for Question Answering Research},
author	= {Tom Kwiatkowski and Jennimaria Palomaki and Olivia Redfield and Michael Collins and Ankur Parikh and Chris Alberti and Danielle Epstein and Illia Polosukhin and Matthew Kelcey and Jacob Devlin and Kenton Lee and Kristina N. Toutanova and Llion Jones and Ming-Wei Chang and Andrew Dai and Jakob Uszkoreit and Quoc Le and Slav Petrov},
year	= {2019},
journal	= {Transactions of the Association of Computational Linguistics}
}

Contributions

Downloads last month
3