Dataset Preview Go to dataset viewer
The dataset preview is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    AttributeError
Message:      'TarContainedFile' object has no attribute 'readable'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/responses/first_rows.py", line 337, in get_first_rows_response
                  rows = get_rows(dataset, config, split, streaming=True, rows_max_number=rows_max_number, hf_token=hf_token)
                File "/src/services/worker/src/worker/utils.py", line 123, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/responses/first_rows.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 718, in __iter__
                  for key, example in self._iter():
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 708, in _iter
                  yield from ex_iterable
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 112, in __iter__
                  yield from self.generate_examples_fn(**self.kwargs)
                File "/tmp/modules-cache/datasets_modules/datasets/qa_zre/9ad49793a90e5078eb59cf29a88c0b0e893635bbb797a054ac70ab55165bf453/qa_zre.py", line 90, in _generate_examples
                  with open(filepath, encoding="utf-8") as f:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/streaming.py", line 67, in wrapper
                  return function(*args, use_auth_token=use_auth_token, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 453, in xopen
                  file_obj = fsspec.open(file, mode=mode, *args, **kwargs).open()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 135, in open
                  return self.__enter__()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 114, in __enter__
                  f = PickleableTextIOWrapper(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 701, in __init__
                  super().__init__(*self.args)
              AttributeError: 'TarContainedFile' object has no attribute 'readable'

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

Dataset Card for QaZre

Dataset Summary

A dataset reducing relation extraction to simple reading comprehension questions

Supported Tasks and Leaderboards

More Information Needed

Languages

More Information Needed

Dataset Structure

Data Instances

default

  • Size of downloaded dataset files: 492.15 MB
  • Size of the generated dataset: 1989.22 MB
  • Total amount of disk used: 2481.37 MB

An example of 'validation' looks as follows.

{
    "answers": [],
    "context": "answer",
    "question": "What is XXX in this question?",
    "relation": "relation_name",
    "subject": "Some entity Here is a bit of context which will explain the question in some way"
}

Data Fields

The data fields are the same among all splits.

default

  • relation: a string feature.
  • question: a string feature.
  • subject: a string feature.
  • context: a string feature.
  • answers: a list of string features.

Data Splits

name train validation test
default 8400000 6000 120000

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

Unknown.

Citation Information

@inproceedings{levy-etal-2017-zero,
    title = "Zero-Shot Relation Extraction via Reading Comprehension",
    author = "Levy, Omer  and
      Seo, Minjoon  and
      Choi, Eunsol  and
      Zettlemoyer, Luke",
    booktitle = "Proceedings of the 21st Conference on Computational Natural Language Learning ({C}o{NLL} 2017)",
    month = aug,
    year = "2017",
    address = "Vancouver, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/K17-1034",
    doi = "10.18653/v1/K17-1034",
    pages = "333--342",
}

Contributions

Thanks to @thomwolf, @lhoestq, @ghomasHudson, @lewtun for adding this dataset.

Edit dataset card
Evaluate models HF Leaderboard