Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
qid: string
family: string
text: string
server: string
pub_year: int64
published: bool
abs_len: int64
name: string
split_rule: struct<fn: string, holdout_seed: string, holdout_fraction: double, split_seed: string, splits: struc (... 85 chars omitted)
child 0, fn: string
child 1, holdout_seed: string
child 2, holdout_fraction: double
child 3, split_seed: string
child 4, splits: struct<train: string, val: string, test: string>
child 0, train: string
child 1, val: string
child 2, test: string
child 5, eval_selection: string
child 6, eval_cap: int64
corpus: string
provenance: struct<citations: string, mesh: string, category: string>
child 0, citations: string
child 1, mesh: string
child 2, category: string
limitations: struct<text_is_truncated: struct<cap_chars: int64, applies_to: string, affected_share: string, why: (... 103 chars omitted)
child 0, text_is_truncated: struct<cap_chars: int64, applies_to: string, affected_share: string, why: string, mitigation: string (... 1 chars omitted)
child 0, cap_chars: int64
child 1, applies_to: string
child 2, affected_share: string
child 3, why: string
child 4, mitigation: string
child 1, mesh_coverage: struct<share_of_corpus: string, why: string, bias: string>
child 0, share_of_corpus: string
child 1, why: string
child 2, bias: string
release: struct<name: string, form: string, why: string, derived_from: struct<file: string, sha256: string, r (...
...
ile: string
child 1, sha256: string
child 2, rows: int64
child 3, parent: string
files: struct<queries.jsonl: struct<bytes: int64, sha256: string, rows: int64>, qrels.tsv: struct<bytes: in (... 34 chars omitted)
child 0, queries.jsonl: struct<bytes: int64, sha256: string, rows: int64>
child 0, bytes: int64
child 1, sha256: string
child 2, rows: int64
child 1, qrels.tsv: struct<bytes: int64, sha256: string, rows: int64>
child 0, bytes: int64
child 1, sha256: string
child 2, rows: int64
scoring: struct<report_per_family: bool, headline_families: list<item: string>, flagged_families: list<item: (... 22 chars omitted)
child 0, report_per_family: bool
child 1, headline_families: list<item: string>
child 0, item: string
child 2, flagged_families: list<item: string>
child 0, item: string
child 3, note: string
text_cap_chars: int64
frozen_at: string
properties: struct<positives_guaranteed_embeddable: struct<value: bool, predicate: string, why: string>, splits_ (... 21 chars omitted)
child 0, positives_guaranteed_embeddable: struct<value: bool, predicate: string, why: string>
child 0, value: bool
child 1, predicate: string
child 2, why: string
child 1, splits_recomputable: string
status: string
embed_recipe: struct<source_of_truth: string, sql: string, field: string, note: string>
child 0, source_of_truth: string
child 1, sql: string
child 2, field: string
child 3, note: string
to
{'name': Value('string'), 'status': Value('string'), 'frozen_at': Value('string'), 'corpus': Value('string'), 'split_rule': {'fn': Value('string'), 'holdout_seed': Value('string'), 'holdout_fraction': Value('float64'), 'split_seed': Value('string'), 'splits': {'train': Value('string'), 'val': Value('string'), 'test': Value('string')}, 'eval_selection': Value('string'), 'eval_cap': Value('int64')}, 'text_cap_chars': Value('int64'), 'embed_recipe': {'source_of_truth': Value('string'), 'sql': Value('string'), 'field': Value('string'), 'note': Value('string')}, 'properties': {'positives_guaranteed_embeddable': {'value': Value('bool'), 'predicate': Value('string'), 'why': Value('string')}, 'splits_recomputable': Value('string')}, 'limitations': {'text_is_truncated': {'cap_chars': Value('int64'), 'applies_to': Value('string'), 'affected_share': Value('string'), 'why': Value('string'), 'mitigation': Value('string')}, 'mesh_coverage': {'share_of_corpus': Value('string'), 'why': Value('string'), 'bias': Value('string')}}, 'scoring': {'report_per_family': Value('bool'), 'headline_families': List(Value('string')), 'flagged_families': List(Value('string')), 'note': Value('string')}, 'provenance': {'citations': Value('string'), 'mesh': Value('string'), 'category': Value('string')}, 'files': {'queries.jsonl': {'bytes': Value('int64'), 'sha256': Value('string'), 'rows': Value('int64')}, 'qrels.tsv': {'bytes': Value('int64'), 'sha256': Value('string'), 'rows': Value('int64')}}, 'release': {'name': Value('string'), 'form': Value('string'), 'why': Value('string'), 'derived_from': {'file': Value('string'), 'sha256': Value('string'), 'rows': Value('int64'), 'parent': Value('string')}}}
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
text: string
server: string
pub_year: int64
published: bool
abs_len: int64
name: string
split_rule: struct<fn: string, holdout_seed: string, holdout_fraction: double, split_seed: string, splits: struc (... 85 chars omitted)
child 0, fn: string
child 1, holdout_seed: string
child 2, holdout_fraction: double
child 3, split_seed: string
child 4, splits: struct<train: string, val: string, test: string>
child 0, train: string
child 1, val: string
child 2, test: string
child 5, eval_selection: string
child 6, eval_cap: int64
corpus: string
provenance: struct<citations: string, mesh: string, category: string>
child 0, citations: string
child 1, mesh: string
child 2, category: string
limitations: struct<text_is_truncated: struct<cap_chars: int64, applies_to: string, affected_share: string, why: (... 103 chars omitted)
child 0, text_is_truncated: struct<cap_chars: int64, applies_to: string, affected_share: string, why: string, mitigation: string (... 1 chars omitted)
child 0, cap_chars: int64
child 1, applies_to: string
child 2, affected_share: string
child 3, why: string
child 4, mitigation: string
child 1, mesh_coverage: struct<share_of_corpus: string, why: string, bias: string>
child 0, share_of_corpus: string
child 1, why: string
child 2, bias: string
release: struct<name: string, form: string, why: string, derived_from: struct<file: string, sha256: string, r (...
...
ile: string
child 1, sha256: string
child 2, rows: int64
child 3, parent: string
files: struct<queries.jsonl: struct<bytes: int64, sha256: string, rows: int64>, qrels.tsv: struct<bytes: in (... 34 chars omitted)
child 0, queries.jsonl: struct<bytes: int64, sha256: string, rows: int64>
child 0, bytes: int64
child 1, sha256: string
child 2, rows: int64
child 1, qrels.tsv: struct<bytes: int64, sha256: string, rows: int64>
child 0, bytes: int64
child 1, sha256: string
child 2, rows: int64
scoring: struct<report_per_family: bool, headline_families: list<item: string>, flagged_families: list<item: (... 22 chars omitted)
child 0, report_per_family: bool
child 1, headline_families: list<item: string>
child 0, item: string
child 2, flagged_families: list<item: string>
child 0, item: string
child 3, note: string
text_cap_chars: int64
frozen_at: string
properties: struct<positives_guaranteed_embeddable: struct<value: bool, predicate: string, why: string>, splits_ (... 21 chars omitted)
child 0, positives_guaranteed_embeddable: struct<value: bool, predicate: string, why: string>
child 0, value: bool
child 1, predicate: string
child 2, why: string
child 1, splits_recomputable: string
status: string
embed_recipe: struct<source_of_truth: string, sql: string, field: string, note: string>
child 0, source_of_truth: string
child 1, sql: string
child 2, field: string
child 3, note: string
to
{'name': Value('string'), 'status': Value('string'), 'frozen_at': Value('string'), 'corpus': Value('string'), 'split_rule': {'fn': Value('string'), 'holdout_seed': Value('string'), 'holdout_fraction': Value('float64'), 'split_seed': Value('string'), 'splits': {'train': Value('string'), 'val': Value('string'), 'test': Value('string')}, 'eval_selection': Value('string'), 'eval_cap': Value('int64')}, 'text_cap_chars': Value('int64'), 'embed_recipe': {'source_of_truth': Value('string'), 'sql': Value('string'), 'field': Value('string'), 'note': Value('string')}, 'properties': {'positives_guaranteed_embeddable': {'value': Value('bool'), 'predicate': Value('string'), 'why': Value('string')}, 'splits_recomputable': Value('string')}, 'limitations': {'text_is_truncated': {'cap_chars': Value('int64'), 'applies_to': Value('string'), 'affected_share': Value('string'), 'why': Value('string'), 'mitigation': Value('string')}, 'mesh_coverage': {'share_of_corpus': Value('string'), 'why': Value('string'), 'bias': Value('string')}}, 'scoring': {'report_per_family': Value('bool'), 'headline_families': List(Value('string')), 'flagged_families': List(Value('string')), 'note': Value('string')}, 'provenance': {'citations': Value('string'), 'mesh': Value('string'), 'category': Value('string')}, 'files': {'queries.jsonl': {'bytes': Value('int64'), 'sha256': Value('string'), 'rows': Value('int64')}, 'qrels.tsv': {'bytes': Value('int64'), 'sha256': Value('string'), 'rows': Value('int64')}}, 'release': {'name': Value('string'), 'form': Value('string'), 'why': Value('string'), 'derived_from': {'file': Value('string'), 'sha256': Value('string'), 'rows': Value('int64'), 'parent': Value('string')}}}
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.
The benchmark behind every number on the BioMed Encoder and BioMed Reranker cards: the queries, the gold labels, and the per-query results of every arm we scored — so anyone can check a published number, or run a paired significance test against their own model without rescoring ours.
- ✅ Frozen before any training, split by paper. 25% of papers held out by a declared hash rule; no benchmark gold paper appears anywhere in training.
- ✅ Every baseline measured here, not quoted. Same corpus, same queries, same metric code, each model with the similarity function its authors published it for.
- ✅ Per-query hit/miss for every arm. Paired exact McNemar and bootstrap CIs are
reproducible from the files in
results/. - ✅ Keys-only. Queries and DOIs, not third-party text — every gold row carries the public-API URL to re-fetch its title and abstract.
Contents
| file | rows | what |
|---|---|---|
queries.jsonl |
2,000 | {qid, family, text, server, pub_year, published, abs_len} — the query string plus the segment keys used for per-segment reporting |
qrels.tsv |
2,000 | qid, slug, doi, server, details_url — one gold paper per query; details_url returns its metadata and abstract from the server's public API |
manifest.json |
1 | freeze date, split rule, embedding recipe, leak audit, provenance, limitations |
subsample-manifest.json |
1 | how these 2,000 were drawn from the frozen 10,000, with the parent file's sha256 |
results/*.json |
12 arms | metrics per family and per segment (server, era, published, abstract-length band) |
results/*.perquery.json |
9 arms | per-query rank of the gold paper, so any two arms can be compared with a paired test |
Query families
| family | queries | source |
|---|---|---|
MESH |
1,241 | NLM MeSH descriptors assigned by indexers to the paper's published version — expert subject headings, the professional-search case |
AUTHORKW |
759 | the authors' own keywords, as submitted |
Performance
MeSH concept queries (n = 1,241), retrieved against all 433,449 papers, top-50.
| Rank | Arm | R@1 | R@10 | nDCG@10 | file |
|---|---|---|---|---|---|
| 1 | BioMed Encoder + BioMed Reranker | 0.306 | 0.549 | 0.419 | biomed-encoder+biomed-reranker |
| 2 | RRF(FTS + BioMed Encoder) | 0.272 | 0.533 | 0.394 | rrf_biomed-encoder+fts |
| 3 | ncbi/MedCPT + MedCPT-Cross-Encoder |
0.291 | 0.525 | 0.405 | medcpt+medcpt_ce |
| 4 | BioMed Encoder (retrieval only) | 0.269 | 0.524 | 0.388 | biomed-encoder |
| 5 | ncbi/MedCPT |
0.235 | 0.457 | 0.337 | medcpt |
| 6 | allenai/specter2_base |
0.153 | 0.351 | 0.247 | specter2 |
| 7 | BAAI/bge-m3 (stock) |
0.118 | 0.286 | 0.194 | bge-m3 |
| 8 | Postgres FTS | 0.047 | 0.081 | 0.063 | fts |
Also in results/: BioMed Reranker over MedCPT's candidate pool
(medcpt+biomed-reranker, 0.544 R@10), and three-way fusions.
Statistics on the cards — paired exact McNemar, 5,000-sample bootstrap CIs — are
computed from the perquery files. To test your own model against any arm here, score
the same 2,000 queries, record the rank of each gold paper, and pair by qid.
Details
| Property | |
|---|---|
| Corpus | bioRxiv (345,882) + medRxiv (87,567) preprints, harvested 2026-08-19 from the servers' public APIs |
| Unit of record | one paper (max(version) per (server, doi)); slug is the bare DOI suffix |
| Indexed text | `left(trim(title |
| Split | 25% of papers held out by `md5("holdout:" |
| Selection | deterministic: lowest 10,000 by md5("eval:" + family + ":" + key_number), then lowest 2,000 by md5("scoresample:" + slug + ":" + query) |
| Metrics | R@1, R@5, R@10, R@50, MRR, nDCG@10 — per family and per segment |
| Frozen | 2026-08-19T08:30Z |
Leak audit at freeze time: 0 of 2,000 queries appear verbatim inside their own document.
How to use
import json, csv, requests
queries = [json.loads(l) for l in open("queries.jsonl")]
gold = {r["qid"]: r for r in csv.DictReader(open("qrels.tsv"), delimiter="\t")}
# Re-fetch a gold paper's title + abstract from the server's public API
r = requests.get(gold["MESH-000001"]["details_url"]).json()["collection"][-1]
print(r["title"]); print(r["abstract"])
# Paired comparison against a published arm
ours = {...} # qid -> rank of the gold paper in your top-50 (or None)
theirs = json.load(open("results/biomed-encoder.perquery.json"))
Text for the full corpus is available the same way, one call per DOI, or in bulk from
the servers' own API (https://api.biorxiv.org/details/biorxiv/{from}/{to}/{cursor}).
Licensing
Preprint titles and abstracts are distributed by the servers under per-paper licences, and the corpus is not uniformly permissive — a third of it is CC-BY-NC-ND and more than a quarter is all-rights-reserved. This release therefore ships no third-party text: queries (MeSH descriptors and author keywords), gold DOIs, and our own measurements. Those are ours to license and are released CC-BY-4.0. The text behind each DOI stays with its authors, under their licence, at its source.
📬 Contact
Questions, results, or a model to add to the table? Open a discussion in the Community tab.
Citation
@misc{biomedeval2026,
title = {BioMed Eval: a frozen retrieval benchmark over the complete bioRxiv and medRxiv corpus},
author = {NYSgpt},
year = {2026},
url = {https://huggingface.co/datasets/NYSgpt/biomed-eval}
}
- Downloads last month
- 37