Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
qid: string
family: string
source_scheme: string
source_id: string
source_url: string
era: string
richness: string
reftype: string
leak_audit: struct<a_nuclear_sentinel_in_abstract: int64, b_query_in_document_hits_dropped: int64, c_kw_positive (... 19 chars omitted)
child 0, a_nuclear_sentinel_in_abstract: int64
child 1, b_query_in_document_hits_dropped: int64
child 2, c_kw_positives_with_twin: int64
corpus_frozen_at: string
corpus_universe_size: int64
kw: struct<eligible_keyworded_embedded_papers: int64, candidates_held_out: int64, leak_drops: int64, sur (... 386 chars omitted)
child 0, eligible_keyworded_embedded_papers: int64
child 1, candidates_held_out: int64
child 2, leak_drops: int64
child 3, survivors: int64
child 4, positives_with_twin: int64
child 5, final_sample: int64
child 6, cell_counts_era_richness: struct<pre1970|title-only: int64, pre1970|has-abstract: int64, 1970-1999|title-only: int64, 1970-199 (... 74 chars omitted)
child 0, pre1970|title-only: int64
child 1, pre1970|has-abstract: int64
child 2, 1970-1999|title-only: int64
child 3, 1970-1999|has-abstract: int64
child 4, 2000+|title-only: int64
child 5, 2000+|has-abstract: int64
child 7, reftype_counts: struct<journal: int64, other: int64>
child 0, journal: int64
child 1, other: int64
child 8, query_length_chars: struct<min: int64, median: int64, max: int64>
child 0, min: int64
child 1, median: int64
child 2, max: int64
holdout_formula: string
holdout_fraction: double
built_at_note: string
ex: struct<distinct_exfor_ids_embedded_linked: int64, candidates_with_heldout_positive: int64, final_sam (... 334 chars omitted)
child 0, distinct_exfor_ids_embedded_linked: int64
child 1, candidates_with_heldout_positive: int64
child 2, final_sample: int64
child 3, cell_counts_era_richness: struct<pre1970|title-only: int64, pre1970|has-abstract: int64, 1970-1999|title-only: int64, 1970-199 (... 74 chars omitted)
child 0, pre1970|title-only: int64
child 1, pre1970|has-abstract: int64
child 2, 1970-1999|title-only: int64
child 3, 1970-1999|has-abstract: int64
child 4, 2000+|title-only: int64
child 5, 2000+|has-abstract: int64
child 4, reftype_counts: struct<journal: int64, other: int64>
child 0, journal: int64
child 1, other: int64
child 5, query_length_chars: struct<min: int64, median: int64, max: int64>
child 0, min: int64
child 1, median: int64
child 2, max: int64
to
{'built_at_note': Value('string'), 'holdout_fraction': Value('float64'), 'holdout_formula': Value('string'), 'corpus_frozen_at': Value('string'), 'corpus_universe_size': Value('int64'), 'kw': {'eligible_keyworded_embedded_papers': Value('int64'), 'candidates_held_out': Value('int64'), 'leak_drops': Value('int64'), 'survivors': Value('int64'), 'positives_with_twin': Value('int64'), 'final_sample': Value('int64'), 'cell_counts_era_richness': {'pre1970|title-only': Value('int64'), 'pre1970|has-abstract': Value('int64'), '1970-1999|title-only': Value('int64'), '1970-1999|has-abstract': Value('int64'), '2000+|title-only': Value('int64'), '2000+|has-abstract': Value('int64')}, 'reftype_counts': {'journal': Value('int64'), 'other': Value('int64')}, 'query_length_chars': {'min': Value('int64'), 'median': Value('int64'), 'max': Value('int64')}}, 'ex': {'distinct_exfor_ids_embedded_linked': Value('int64'), 'candidates_with_heldout_positive': Value('int64'), 'final_sample': Value('int64'), 'cell_counts_era_richness': {'pre1970|title-only': Value('int64'), 'pre1970|has-abstract': Value('int64'), '1970-1999|title-only': Value('int64'), '1970-1999|has-abstract': Value('int64'), '2000+|title-only': Value('int64'), '2000+|has-abstract': Value('int64')}, 'reftype_counts': {'journal': Value('int64'), 'other': Value('int64')}, 'query_length_chars': {'min': Value('int64'), 'median': Value('int64'), 'max': Value('int64')}}, 'leak_audit': {'a_nuclear_sentinel_in_abstract': Value('int64'), 'b_query_in_document_hits_dropped': Value('int64'), 'c_kw_positives_with_twin': Value('int64')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
qid: string
family: string
source_scheme: string
source_id: string
source_url: string
era: string
richness: string
reftype: string
leak_audit: struct<a_nuclear_sentinel_in_abstract: int64, b_query_in_document_hits_dropped: int64, c_kw_positive (... 19 chars omitted)
child 0, a_nuclear_sentinel_in_abstract: int64
child 1, b_query_in_document_hits_dropped: int64
child 2, c_kw_positives_with_twin: int64
corpus_frozen_at: string
corpus_universe_size: int64
kw: struct<eligible_keyworded_embedded_papers: int64, candidates_held_out: int64, leak_drops: int64, sur (... 386 chars omitted)
child 0, eligible_keyworded_embedded_papers: int64
child 1, candidates_held_out: int64
child 2, leak_drops: int64
child 3, survivors: int64
child 4, positives_with_twin: int64
child 5, final_sample: int64
child 6, cell_counts_era_richness: struct<pre1970|title-only: int64, pre1970|has-abstract: int64, 1970-1999|title-only: int64, 1970-199 (... 74 chars omitted)
child 0, pre1970|title-only: int64
child 1, pre1970|has-abstract: int64
child 2, 1970-1999|title-only: int64
child 3, 1970-1999|has-abstract: int64
child 4, 2000+|title-only: int64
child 5, 2000+|has-abstract: int64
child 7, reftype_counts: struct<journal: int64, other: int64>
child 0, journal: int64
child 1, other: int64
child 8, query_length_chars: struct<min: int64, median: int64, max: int64>
child 0, min: int64
child 1, median: int64
child 2, max: int64
holdout_formula: string
holdout_fraction: double
built_at_note: string
ex: struct<distinct_exfor_ids_embedded_linked: int64, candidates_with_heldout_positive: int64, final_sam (... 334 chars omitted)
child 0, distinct_exfor_ids_embedded_linked: int64
child 1, candidates_with_heldout_positive: int64
child 2, final_sample: int64
child 3, cell_counts_era_richness: struct<pre1970|title-only: int64, pre1970|has-abstract: int64, 1970-1999|title-only: int64, 1970-199 (... 74 chars omitted)
child 0, pre1970|title-only: int64
child 1, pre1970|has-abstract: int64
child 2, 1970-1999|title-only: int64
child 3, 1970-1999|has-abstract: int64
child 4, 2000+|title-only: int64
child 5, 2000+|has-abstract: int64
child 4, reftype_counts: struct<journal: int64, other: int64>
child 0, journal: int64
child 1, other: int64
child 5, query_length_chars: struct<min: int64, median: int64, max: int64>
child 0, min: int64
child 1, median: int64
child 2, max: int64
to
{'built_at_note': Value('string'), 'holdout_fraction': Value('float64'), 'holdout_formula': Value('string'), 'corpus_frozen_at': Value('string'), 'corpus_universe_size': Value('int64'), 'kw': {'eligible_keyworded_embedded_papers': Value('int64'), 'candidates_held_out': Value('int64'), 'leak_drops': Value('int64'), 'survivors': Value('int64'), 'positives_with_twin': Value('int64'), 'final_sample': Value('int64'), 'cell_counts_era_richness': {'pre1970|title-only': Value('int64'), 'pre1970|has-abstract': Value('int64'), '1970-1999|title-only': Value('int64'), '1970-1999|has-abstract': Value('int64'), '2000+|title-only': Value('int64'), '2000+|has-abstract': Value('int64')}, 'reftype_counts': {'journal': Value('int64'), 'other': Value('int64')}, 'query_length_chars': {'min': Value('int64'), 'median': Value('int64'), 'max': Value('int64')}}, 'ex': {'distinct_exfor_ids_embedded_linked': Value('int64'), 'candidates_with_heldout_positive': Value('int64'), 'final_sample': Value('int64'), 'cell_counts_era_richness': {'pre1970|title-only': Value('int64'), 'pre1970|has-abstract': Value('int64'), '1970-1999|title-only': Value('int64'), '1970-1999|has-abstract': Value('int64'), '2000+|title-only': Value('int64'), '2000+|has-abstract': Value('int64')}, 'reftype_counts': {'journal': Value('int64'), 'other': Value('int64')}, 'query_length_chars': {'min': Value('int64'), 'median': Value('int64'), 'max': Value('int64')}}, 'leak_audit': {'a_nuclear_sentinel_in_abstract': Value('int64'), 'b_query_in_document_hits_dropped': Value('int64'), 'c_kw_positives_with_twin': Value('int64')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
NSR Eval
A frozen retrieval benchmark over nuclear-physics literature (277,068 Nuclear Science References).
The benchmark behind every number on the NSR Encoder and NSR Reranker cards: the query keys, the gold labels, and the results of every arm we scored — so anyone can check a published number or score their own model on the same queries.
- ✅ Frozen before any training, split by paper. 25% of papers held out by a declared hash rule; no benchmark paper is a query source or positive in training.
- ✅ Two expert query families. Indexer-written keyword abstracts (
KW) and EXFOR experiment entries (EX) — real professional-search queries, not synthetic questions. - ✅ Every baseline measured here, not quoted. Same corpus, same queries, same metric code; reported per segment (era, document richness, reference type).
- ✅ Keys-only. NSR key numbers and EXFOR entry numbers, not NNDC/IAEA text — every row resolves at its public source.
Contents
| file | rows | what |
|---|---|---|
queries.jsonl |
9,995 | {qid, family, source_scheme, source_id, source_url, era, richness, reftype} — the key of the record the query is built from, plus segment tags |
qrels.tsv |
11,048 | qid, key_number, url — the gold NSR paper(s); EX queries may have several |
manifest.json |
1 | freeze time, holdout rule, per-cell counts, leak audit |
results/*.json |
6 arms | metrics per family and per segment |
results/bge-m3+nsr-reranker.perquery.json |
9,995 | the stock top-50 and the reranked top-50 as key numbers, per query |
Query families
| family | queries | query is | gold is |
|---|---|---|---|
KW |
4,998 | the NSR keyword abstract of paper source_id — the indexer's structured REACTION / MEASURED / DEDUCED phrases, flattened to one line |
that same paper |
EX |
4,997 | EXFOR entry source_id — its title and reaction codes (e.g. 64-GD-0(N,TOT),,SIG) |
the NSR paper(s) the entry is linked to |
Rebuilding the query text. KW: fetch the NSR record at source_url and join its
keyword-abstract phrases with ; . EX: fetch the EXFOR entry at source_url and join
its title with its reaction strings, ; -separated. Both sources are public databases.
Performance
Expert keyword queries (KW, n = 4,998), retrieved against all 277,068 documents.
| Rank | Arm | R@1 | R@10 | nDCG@10 | file |
|---|---|---|---|---|---|
| 1 | RRF(FTS + NSR Encoder) | 0.344 | 0.542 | 0.437 | rrf_fts+nsr-encoder |
| 2 | NSR Encoder | 0.252 | 0.487 | 0.363 | nsr-encoder |
| 3 | RRF(FTS + stock bge-m3) | 0.212 | 0.282 | 0.244 | rrf_fts+bge-m3 |
| 4 | stock bge-m3 + NSR Reranker | 0.180 | 0.241 | 0.213 | bge-m3+nsr-reranker |
| 5 | Postgres FTS | 0.161 | 0.165 | 0.163 | fts |
| 6 | BAAI/bge-m3 (stock) |
0.080 | 0.171 | 0.121 | bge-m3 |
EXFOR queries (EX, n = 4,997) — near-saturated for every dense arm: stock bge-m3
- NSR Reranker 0.927 R@1, NSR Encoder 0.911, stock bge-m3 0.871, FTS 0.017.
Every results/*.json carries the same metrics per segment: era (pre1970,
1970-1999, 2000+), richness (has-abstract, title-only), reftype (journal,
other). Read per segment — the two families flip which arm wins, and a blended row alone
hides it.
Details
| Property | |
|---|---|
| Corpus | 277,068 NSR references with embeddable text (title + publisher abstract when present, title only otherwise); NNDC NSR snapshot 2026-06-30 |
| Unit of record | one NSR reference, identified by its key_number |
| Split | 25% of papers held out by `md5("holdout:" |
| Selection | stratified across era × richness cells; 4,998 KW + 4,997 EX |
| Metrics | R@1, R@5, R@10, R@50, MRR, nDCG@10 — per family and per segment |
| Twins | 181 KW positives have an exact-text twin in the corpus; a twin hit is scored as correct |
| Frozen | 2026-08-17T01:42Z |
Leak audit at freeze time: the embedded document is title + publisher abstract, the keyword abstract lives in a separate field — 0 of 9,995 queries appear inside their own document.
How to use
import json, csv
queries = [json.loads(l) for l in open("queries.jsonl")]
gold = {}
for r in csv.DictReader(open("qrels.tsv"), delimiter="\t"):
gold.setdefault(r["qid"], set()).add(r["key_number"])
# score your model: for each query, the rank of the first gold key_number in your top-50
hits = json.load(open("results/bge-m3+nsr-reranker.perquery.json")) # {qid: {raw_top50, reranked}}
Licensing
NSR keyword abstracts are written by NNDC indexers and EXFOR entries are compiled by the IAEA/NNDC network; both are third-party text and neither is redistributed here. This release ships keys — NSR key numbers, EXFOR entry numbers, segment tags — and our own measurements, released CC-BY-4.0. The text behind each key stays at its source, under its source's terms.
📬 Contact
Questions, results, or a model to add to the table? Open a discussion in the Community tab.
Citation
@misc{nsreval2026,
title = {NSR Eval: a frozen retrieval benchmark over the Nuclear Science References corpus},
author = {NYSgpt},
year = {2026},
url = {https://huggingface.co/datasets/NYSgpt/nsr-eval}
}
- Downloads last month
- 32