The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
file_obj = fs.open(paths[0], mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
~~~^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
jsonl.gz unknown | __key__ string | __url__ string |
|---|---|---|
"eyJjaHVua19pZCI6ICJmYWlyeXRhbGVxYTphbGxlbGVpcmF1Z2gtb3ItdGhlLW1hbnktZnVycmVkLWNyZWF0dXJlOmNodW5rOjA(...TRUNCATED) | RealContextBench/applications/fairytaleqa/chunks | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJkb2N1bWVudF9pZCI6ICJmYWlyeXRhbGVxYTphbGxlbGVpcmF1Z2gtb3ItdGhlLW1hbnktZnVycmVkLWNyZWF0dXJlIiwgInR(...TRUNCATED) | RealContextBench/applications/fairytaleqa/documents | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJxdWVyeV9pZCI6ICJmYWlyeXRhbGVxYTphbGxlbGVpcmF1Z2gtb3ItdGhlLW1hbnktZnVycmVkLWNyZWF0dXJlOnExIiwgInF(...TRUNCATED) | RealContextBench/applications/fairytaleqa/queries | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJjaHVua19pZCI6ICJmaW5hbmNlYmVuY2g6M01fMjAxOF8xMEs6Y2h1bms6MCIsICJkb2N1bWVudF9pZCI6ICJmaW5hbmNlYmV(...TRUNCATED) | RealContextBench/applications/financebench/chunks | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJkb2N1bWVudF9pZCI6ICJmaW5hbmNlYmVuY2g6M01fMjAxOF8xMEsiLCAidGl0bGUiOiAiM01fMjAxOF8xMEsiLCAidGV4dCI(...TRUNCATED) | RealContextBench/applications/financebench/documents | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJxdWVyeV9pZCI6ICJmaW5hbmNlYmVuY2hfaWRfMDMwMjkiLCAicXVlcnkiOiAiV2hhdCBpcyB0aGUgRlkyMDE4IGNhcGl0YWw(...TRUNCATED) | RealContextBench/applications/financebench/queries | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJjaHVua19pZCI6ICJucTplZDcyNDYyNTVhM2Q5ZTM5MDIyNTNkOTc6djQ6MCIsICJkb2N1bWVudF9pZCI6ICJucTplZDcyNDY(...TRUNCATED) | RealContextBench/applications/nq/chunks | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJkb2N1bWVudF9pZCI6ICJucTplZDcyNDYyNTVhM2Q5ZTM5MDIyNTNkOTciLCAidGl0bGUiOiAiV2F2ZeKAk3BhcnRpY2xlIGR(...TRUNCATED) | RealContextBench/applications/nq/documents | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
null | RealContextBench/applications/nq/qrels | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
"eyJxdWVyeV9pZCI6ICItNTUwMTQ4MTY2NDg5MzEwNTY2MiIsICJxdWVyeSI6ICJ3aG8gcHJvcG9zZWQgdGhhdCBlbGVjdHJvbnM(...TRUNCATED) | RealContextBench/applications/nq/queries | "hf://datasets/JJHou1/RealContextBench@82952462b9cda60ad1ded4f43f5d30208726e7e2/RealContextBench.tar(...TRUNCATED) |
RealContextBench
RealContextBench is a text retrieval benchmark with source documents, chunks, queries, and chunk-level relevance labels. It combines five application collections with three NanoBEIR context conditions.
Dataset archive · ConTra model card
Application collections
| Collection | Source material | Queries | Documents | Chunks |
|---|---|---|---|---|
| Natural Questions | Google search questions and Wikipedia pages | 5,499 | 5,181 | 99,096 |
| TechQA | IBM support questions and Technotes | 149 | 139 | 1,036 |
| FairytaleQA | Fairy tales with expert-written questions | 1,007 | 23 | 342 |
| QMSum | Meeting transcripts with questions about specific discussions | 244 | 35 | 2,140 |
| FinanceBench | Financial questions and corporate filings | 146 | 84 | 45,049 |
We retain the source questions and pool the documents within each collection. Documents are split into ordered, non-overlapping chunks. The chunk-level labels come from mapping existing answer spans or supporting evidence to those chunks.
NanoBEIR context conditions
All three conditions share the same 13 tasks, 649 queries, target chunks, and relevance labels. Only the surrounding text varies.
| Condition | Surrounding text |
|---|---|
| Original | The target chunk on its own. |
| Random | Four passages sampled from the same task corpus, two on each side of the target. |
| Topical | Four passages generated by GPT-6 Luna on the target's topic, describing different subjects, cases, or events. |
For empty targets and failed generations, the Topical condition uses the corresponding Random context.
- Downloads last month
- -