The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 80, in _split_generators
raise ValueError(
...<2 lines>...
)
ValueError: The TAR archives of the dataset should be in WebDataset format, but the files in the archive don't share the same prefix or the same types.
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/split_names.py", line 68, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ClinicalTrials.gov Snapshot (2021-04-27)
A full snapshot of the ClinicalTrials.gov registry as it stood on 2021-04-27 — 375,580 studies, one XML record per trial. This is the exact corpus underlying the TREC Clinical Trials 2021 and 2022 track benchmarks.
This mirror exists so the TrialMatch-RAG research project (an eligibility-aware patient-to-trial retrieval system) can be reproduced from a clean checkout on any machine, without depending on the original zip hosting staying reachable.
Dataset summary
- 375,580
<clinical_study>records, one XML file per trial. - Fields of interest:
id_info/nct_id,brief_title,brief_summary,detailed_description,condition,intervention,keyword,condition_browse/mesh_term,eligibility/criteria/textblock(free-text inclusion/exclusion criteria),eligibility/gender,minimum_age,maximum_age,healthy_volunteers,overall_status,phase,study_type. - Most fields are optional and some repeat (e.g. multiple
conditiontags) — this is the raw registry export, not a cleaned/flattened table. - Text blocks contain literal

(carriage-return) entities from the original export; normalize before indexing. - Not included here: TREC topics and qrels (the patient narratives and eligible/excluded/ non-relevant relevance judgments). Those are separate, small files distributed by the TREC Clinical Trials track organizers directly — this repo carries only the trial corpus.
Dataset structure
Single archive: rawdata.tar.gz (~1.3 GB compressed, ~8.9 GB extracted).
Extracting it reproduces a rawdata/ tree bucketed by NCT ID prefix, split into 5 parts:
| Directory | Part | NCT range |
|---|---|---|
rawdata/fixed |
ClinicalTrials.2021-04-27.part1 |
NCT0000xxxx – NCT0099xxxx |
rawdata/fixed2 |
ClinicalTrials.2021-04-27.part2 |
NCT0100xxxx – NCT0199xxxx |
rawdata/fixed3 |
ClinicalTrials.2021-04-27.part3 |
NCT0200xxxx – NCT0299xxxx |
rawdata/fixed4 |
ClinicalTrials.2021-04-27.part4 |
NCT0300xxxx – NCT0399xxxx |
rawdata/fixed5 |
ClinicalTrials.2021-04-27.part5 |
NCT0400xxxx – NCT0486xxxx |
(Directory names are off by one from the part number: fixed holds part1, fixed2 holds part2,
and so on — a quirk of the original export, kept as-is for path stability.)
One file per trial:
rawdata/<dir>/ClinicalTrials.2021-04-27.partN/NCT00xxxxx/NCT00000102.xml
How to use
Plain download + extract:
huggingface-cli download truongdogki/Proposal_TrialMatch-RAG rawdata.tar.gz \
--repo-type dataset --local-dir .
tar -xzf rawdata.tar.gz
Python:
from huggingface_hub import hf_hub_download
import tarfile
path = hf_hub_download(
repo_id="truongdogki/Proposal_TrialMatch-RAG",
filename="rawdata.tar.gz",
repo_type="dataset",
)
with tarfile.open(path) as tf:
tf.extractall(".")
Sanity check after extracting:
find rawdata -name '*.xml' | wc -l # expect 375580
Source and terms
Content is sourced from the U.S. National Library of Medicine's public ClinicalTrials.gov registry, as redistributed for the TREC Clinical Trials track. See ClinicalTrials.gov's own terms and conditions for reuse terms. This is a static 2021-04-27 snapshot — trial statuses, eligibility criteria, and results have changed on the live site since; do not treat this as current data.
Citation
If you use this corpus, cite the TREC Clinical Trials track (see the track's overview papers and materials at trec.nist.gov) and the underlying ClinicalTrials.gov registry.
Intended use
Research and benchmarking for clinical trial retrieval, patient-to-trial matching, and eligibility criteria extraction/classification. Not a source of current trial status or eligibility, and not a substitute for clinician or trial-coordinator review of any real patient-to-trial decision.
- Downloads last month
- 89