Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ValueError
Message: Expected object or value
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 281, in _generate_tables
examples = [ujson_loads(line) for line in batch.splitlines()]
~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
return pd.io.json.ujson_loads(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
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 1369, 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 948, 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 1694, 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 1880, 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.
id string | convo_id string | ct_rate_id string | type string | image string | conversations list |
|---|---|---|---|---|---|
closedended_0 | closedended_c0 | multiple_choice_0 | closedended | valid_1_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following findings are present in the right lung of this Chest CT image? (a) Normal aeration (b) A few millimetric nonspecific nodules (c) Enlarged lymph nodes (d) Infiltrative lesion\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> U... |
closedended_1 | closedended_c1 | multiple_choice_0 | closedended | valid_1_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat is the status of the lung recessions observed in the Chest CT image? (a) Severe recessions (b) Mild recessions (c) Normal lung tissue (d) No recessions\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task>Understanding Question and Clinical Inform... |
closedended_10 | closedended_c10 | multiple_choice_3 | closedended | valid_2_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat is the appearance of the thoracic aorta in the chest CT image?\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Understanding Question and Clinical Information\\nThe question asks about the appearance of the thoracic aorta on the chest CT sca... |
closedended_100 | closedended_c100 | multiple_choice_34 | closedended | valid_16_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nAre there any obstructive pathologies observed in the lumen of the trachea and main bronchi?\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Understanding Question and Clinical Information\\nThe question asks about the presence of obstructive pat... |
closedended_1000 | closedended_c1000 | multiple_choice_337 | closedended | valid_150_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following findings are observed in the lung parenchyma window of this Chest CT image? (a) Enlarged lymph nodes (b) Nonspecific subpleural nodules (c) Pleural effusion (d) Tracheal calcification; Clinical context: High blood pressure, dyspnea for the last... |
closedended_1002 | closedended_c1002 | multiple_choice_337 | closedended | valid_150_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following conditions is indicated by the liver findings in this patient? (a) Hepatocellular carcinoma (b) Hepatosteatosis (c) Liver fibrosis (d) Liver cirrhosis; Clinical context: High blood pressure, dyspnea for the last 1 week\""
},
{
"from": "... |
closedended_1003 | closedended_c1003 | multiple_choice_338 | closedended | valid_151_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true regarding the aortic arch in this Chest CT image? (a) Normal calibration (b) Slightly larger than normal (c) Calcific atheroma plaques only (d) No abnormalities detected\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<tas... |
closedended_1004 | closedended_c1004 | multiple_choice_338 | closedended | valid_151_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true regarding the lymph nodes in the mediastinum and hilar levels in this Chest CT image? (a) Pathologically sized and configured lymph nodes are detected (b) Millimetric lymph nodes are observed (c) No lymph nodes are detected (d) Abnormal... |
closedended_1005 | closedended_c1005 | multiple_choice_338 | closedended | valid_151_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true regarding the stable nodule in the right lung in this Chest CT image? (a) The nodule is increasing in size (b) The nodule is stable and measures approximately 3 mm (c) The nodule is decreasing in size (d) The nodule is not visible\""
... |
closedended_1007 | closedended_c1007 | multiple_choice_339 | closedended | valid_151_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is observed in the posterior segment of the right lung upper lobe?\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Understanding Question and Clinical Information\\nThe question asks to identify a specific finding located i... |
closedended_1009 | closedended_c1009 | multiple_choice_340 | closedended | valid_151_b_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following abnormalities are observed in the lung parenchyma window? (a) Sequelae fibrotic densities in the apical segments of both lungs (b) Pleural thickness increases in both lung pleura (c) Tree-in-bud-like nodular appearances in the right lung middle... |
closedended_1010 | closedended_c1010 | multiple_choice_340 | closedended | valid_151_b_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following findings are observed in the upper abdominal organs? (a) Hypodense stable nodular lesion in the posterior segment of the right lobe of the liver (b) Calcific nodules in the bilateral adrenal gland (c) Simple cortical cysts in both kidneys (d) A... |
closedended_1011 | closedended_c1011 | multiple_choice_340 | closedended | valid_151_b_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following abnormalities are observed in the right lung middle lobe lateral segment? (a) Linear atelectasis (b) Tree-in-bud-like nodular appearances (c) Centrally located, nodular cavitary lesion (d) Pleural thickness increases?q>; Clinical context: TB.\"... |
closedended_1014 | closedended_c1014 | multiple_choice_341 | closedended | valid_151_b_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following adrenal gland findings is observed? (a) Nodular cavitary lesion (b) Hypodense stable nodular lesion (c) Calcific nodules (d) Simple cortical cysts; Clinical context: TB.\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Under... |
closedended_1016 | closedended_c1016 | multiple_choice_342 | closedended | valid_151_c_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following findings are observed in the pleura? (a) Pleural effusion (b) Calcification (c) Thickening (d) Both (b) and (c); Clinical context: Passed tbc.\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Understanding Question and Clini... |
closedended_1018 | closedended_c1018 | multiple_choice_343 | closedended | valid_151_c_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is observed in the mediastinum of this Chest CT image? (a) Pathological lymph nodes (b) Millimetric lymph nodes (c) Pleural effusion (d) Calcification in the aorta; Clinical context: Passed tbc.\""
},
{
"from": "gpt",
"value": "{\"r... |
closedended_1020 | closedended_c1020 | multiple_choice_343 | closedended | valid_151_c_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is observed in the adrenal glands of this Chest CT image? (a) Calcification in the aorta (b) Thickenings in both adrenal glands (c) Cortical hypodense lesions (d) None of the above; Clinical context: Passed tbc.\""
},
{
"from": "gpt",
... |
closedended_1022 | closedended_c1022 | multiple_choice_344 | closedended | valid_152_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat is the size of the nonspecific hypodense lesion observed in the left lobe of the liver? (a) 3 mm (b) 6 mm (c) 10 mm (d) 15 mm\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task>Understanding Question and Clinical Information\\nThe question asks ... |
closedended_1023 | closedended_c1023 | multiple_choice_344 | closedended | valid_152_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat is the recommended next step for the evaluation of the well-circumscribed nodular subcutaneous lesion on the posterior chest wall on the left? (a) Evaluation together with CT (b) Evaluation together with US (c) Biopsy (d) No further evaluation needed\""
},
{... |
closedended_1024 | closedended_c1024 | multiple_choice_345 | closedended | valid_153_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the lymph nodes in the supraclavicular fossa, axilla, and mediastinum? (a) Pathologically enlarged (b) Normal size and appearance (c) Not visible (d) Abnormal shape; Clinical context: Lung infection?\""
},
{
"from": "gpt",... |
closedended_1025 | closedended_c1025 | multiple_choice_345 | closedended | valid_153_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is present in the lung parenchyma window of the Chest CT image? (a) Pneumonic infiltration or consolidation (b) Benign calcific nodule (c) Pleural effusion (d) Lung mass; Clinical context: Lung infection?\""
},
{
"from": "gpt",
"val... |
closedended_1026 | closedended_c1026 | multiple_choice_345 | closedended | valid_153_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the coronary arteries on the Chest CT image? (a) No calcific plaques (b) Calcific atherosclerotic plaques in the LAD (c) Diffuse wall calcifications (d) Pericardial effusion; Clinical context: Lung infection?\""
},
{
"from... |
closedended_1027 | closedended_c1027 | multiple_choice_346 | closedended | valid_153_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the lymph nodes in this Chest CT image? (a) Pathologically enlarged (b) Not in pathological size and appearance (c) Suspicious for malignancy (d) Not visible; Clinical context: Lung infection?\""
},
{
"from": "gpt",
"v... |
closedended_1028 | closedended_c1028 | multiple_choice_346 | closedended | valid_153_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is present in the coronary arteries in this Chest CT image? (a) Calcific plaques (b) Atherosclerotic plaques (c) Thrombi (d) Stenosis; Clinical context: Lung infection?\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task>Underst... |
closedended_103 | closedended_c103 | multiple_choice_35 | closedended | valid_16_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat are the findings in the left lung lower lobe anteromediobasal segment in this Chest CT image? (a) Centriacinar nodular infiltrates (b) Ground glass areas (c) Nodular consolidation areas (d) All of the above\""
},
{
"from": "gpt",
"value": "{\"reasoni... |
closedended_1031 | closedended_c1031 | multiple_choice_347 | closedended | valid_154_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the findings in this Chest CT image? (a) The findings are typical for early viral pneumonia (b) The mediastinum was evaluated optimally (c) No enlarged lymph nodes were detected in the prevascular region (d) The thoracic esophagea... |
closedended_1032 | closedended_c1032 | multiple_choice_347 | closedended | valid_154_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is recommended for better differential diagnosis of the findings in this Chest CT image? (a) Clinical laboratory correlation (b) Further imaging studies (c) Biopsy (d) No further action is needed.\""
},
{
"from": "gpt",
"value": "{\... |
closedended_1033 | closedended_c1033 | multiple_choice_348 | closedended | valid_154_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following findings were observed in the mediastinum? (a) Optimal evaluation (b) Mediastinal main vascular structures, heart contour, and size are normal (c) Pericardial effusion-thickening (d) Mediastinal lymphadenopathy<\\/q>\""
},
{
"from": "gp... |
closedended_1034 | closedended_c1034 | multiple_choice_348 | closedended | valid_154_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat are the findings related to the lung parenchyma in the left lung lower lobe? (a) Nodular or infiltrative lesion (b) Peripherally located ground glass densities (c) Both lung parenchyma aeration is normal (d) All of the above<\\/q>\""
},
{
"from": "gpt",
... |
closedended_1035 | closedended_c1035 | multiple_choice_348 | closedended | valid_154_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat is the impression of the radiologist regarding the ground-glass density in the left lung? (a) Typical for early viral pneumonia (b) Atypical for early viral pneumonia (c) No correlation with viral pneumonia (d) Not mentioned<\\/q>\""
},
{
"from": "gpt",
... |
closedended_1036 | closedended_c1036 | multiple_choice_349 | closedended | valid_155_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following abnormalities are present in this Chest CT image? (a) Pericardial effusion (b) Pleural effusion (c) A 30x25 mm hypodense nodule with mild calcification in the left thyroid gland (d) All of the above; Clinical context: Covid pneumonia?\""
},
... |
closedended_1040 | closedended_c1040 | multiple_choice_350 | closedended | valid_155_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following findings are present in the lung parenchyma window of this Chest CT image? (a) Active infiltration in both lungs (b) Nonspecific millimetric nodules in the right lung (c) Tracheal occlusion (d) Both (a) and (c); Clinical context: Covid pneumoni... |
closedended_1042 | closedended_c1042 | multiple_choice_351 | closedended | valid_156_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the trachea and both main bronchi? (a) Occlusive pathology detected (b) Open with no occlusive pathology (c) Not evaluated (d) Abnormal size; Clinical context: Covid-19 pneumonia?\""
},
{
"from": "gpt",
"value": "{\"re... |
closedended_1043 | closedended_c1043 | multiple_choice_351 | closedended | valid_156_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nAre there any masses or infiltrative lesions present in the lungs? (a) Yes, in both lungs (b) No mass or infiltrative lesion (c) Only in the right lung (d) Only in the left lung; Clinical context: Covid-19 pneumonia?\""
},
{
"from": "gpt",
"value": "{\"re... |
closedended_1044 | closedended_c1044 | multiple_choice_352 | closedended | valid_156_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the trachea and main bronchi according to the Chest CT image? (a) Occlusive pathology is detected (b) No occlusive pathology is detected (c) Mass or infiltrative lesion is detected (d) Enlarged lymph nodes are detected; Clinical c... |
closedended_1045 | closedended_c1045 | multiple_choice_352 | closedended | valid_156_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the lungs according to the Chest CT image? (a) Mass or infiltrative lesion is detected (b) No mass or infiltrative lesion is detected (c) Pleural effusion is detected (d) Pericardial effusion is detected; Clinical context: Covid-1... |
closedended_1046 | closedended_c1046 | multiple_choice_352 | closedended | valid_156_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following is true about the mediastinum according to the Chest CT image? (a) Pathologically enlarged lymph nodes are detected (b) No pathologically enlarged lymph nodes are detected (c) Mass or infiltrative lesion is detected (d) Pleural effusion is dete... |
closedended_1047 | closedended_c1047 | multiple_choice_353 | closedended | valid_157_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following lymph nodes were not enlarged in this Chest CT image? (a) Prevascular (b) Pre-paratracheal (c) Subcarinal (d) Bilateral hilar-axillary<\\/q>\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Understanding Question and Clinica... |
closedended_1051 | closedended_c1051 | multiple_choice_354 | closedended | valid_157_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhat is the recommended follow-up for the findings observed in the Chest CT image? (a) Surgical intervention (b) Clinical laboratory correlation (c) Imaging follow-up (d) No follow-up needed\""
},
{
"from": "gpt",
"value": "{\"reasoning\":\"<task> Underst... |
closedended_1055 | closedended_c1055 | multiple_choice_355 | closedended | valid_158_a_1.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following statements are true regarding the overall impression of the given Chest CT image? (a) Examination within normal limits. (b) Examination outside normal limits. (c) Examination inconclusive. (d) Examination pending.\""
},
{
"from": "gpt",... |
closedended_1056 | closedended_c1056 | multiple_choice_356 | closedended | valid_158_a_2.nii.gz | [
{
"from": "human",
"value": "\"<image>\\nWhich of the following statements is true regarding the lymph nodes in the supraclavicular fossa, axilla, and mediastinum? (a) Pathologically enlarged lymph nodes were detected (b) No lymph node was observed in the supraclavicular fossa, axilla and mediastinum in pat... |
CORTEX
A Structured Reasoning Benchmark for Trustworthy 3D Chest CT MLLMs
CORTEX (Clinically Organized Reasoning and sTructured EXplanation) is a structured reasoning benchmark for multimodal large language models working with 3D chest CT. It converts chest CT question-answering and report-generation tasks into auditable, radiologist-inspired reasoning traces.
This Hugging Face repository is the data release for the paper:
Hashmat Shadab Malik, Anees Ur Rehman Hashmi, Numan Saeed, Muzammal Naseer, Salman Khan, and Christoph Lippert. βCORTEX: A Structured Reasoning Benchmark for Trustworthy 3D Chest CT MLLMs.β
- Paper: arXiv:2606.27264
- Venue: SAFER 2026, MICCAI 2026
- Github repo: CORTEX GitHub repository
Dataset summary
The release contains three task families. CORTEX was constructed from the validation split of CT-RATE.
| Configuration | File | Examples in this release | Description |
|---|---|---|---|
closedended |
data/closedended.json |
8,910 | Multiple-choice chest CT VQA with structured reasoning |
openended |
data/openended.json |
64,211 | Open-ended chest CT VQA with structured reasoning |
report |
data/report.json |
3,039 | Chest CT report-generation examples with structured reasoning |
| Total | β | 76,160 | β |
Dataset structure
Each configuration is stored as a JSON array. Records contain:
| Field | Type | Description |
|---|---|---|
id |
string | Sample identifier |
ct_rate_id |
string | Identifier inherited from the source VQA in CT-RATE |
type |
string | closedended, openended, or report |
image |
string | Referenced CT-RATE volume filename |
conversations |
list | Ordered human/model messages |
The conversations field follows the common conversational format used by multimodal instruction datasets. Model messages contain a structured reasoning trace with four stages:
<task>β task and clinical-context understanding<observation>β visual assessment organized by anatomy<reason>β option or hypothesis evaluation<answer>β final answer and rationale, or report synthesis
Prompts
The task-specific prompts used to generated the reasoning traces in this dataset are included for reproducibility:
prompts/
βββ generation/
β βββ closedended.md
β βββ openended.md
β βββ report.md
βββ scoring/
βββ closedended.md
βββ openended.md
βββ report.md
Generation prompts produce the four-stage CORTEX reasoning traces. Scoring prompts apply the corresponding automated evaluation.
Download
from huggingface_hub import snapshot_download
local_path = snapshot_download(
repo_id="aneesurhashmi/cortex",
repo_type="dataset",
local_dir="./cortex",
)
print(f"Downloaded to: {local_path}")
Intended use
CORTEX is intended for research on multimodal clinical question answering, radiology report generation, structured diagnostic reasoning, and stage-level evaluation of reasoning traces.
This dataset is not a clinical decision-support system. It must not be used as a substitute for qualified radiologist interpretation or patient care. Users should review the source datasetβs license, privacy documentation, data-use terms, and institutional requirements before downloading, using, or redistributing the data.
Data provenance
CORTEX was constructed from the validation split of CT-RATE, a chest CT question-answering dataset. The reasoning traces were generated with task-specific prompts and selected using expert-in-the-loop + rubric-based verification. Please read the paper for the full generation and validation methodology.
Limitations
- The benchmark is limited to chest CT and English-language text.
- Reasoning traces are structured model-generated annotations and should not be treated as independent expert reports.
- The data snapshot and paper totals differ as documented above.
- Dataset access, licensing, de-identification details, and CT-volume hosting should be confirmed from the final release configuration.
Citation
@article{malik2026cortex,
title = {CORTEX: A Structured Reasoning Benchmark for Trustworthy 3D Chest CT MLLMs},
author = {Malik, Hashmat Shadab and Hashmi, Anees Ur Rehman and Saeed, Numan and Naseer, Muzammal and Khan, Salman and Lippert, Christoph},
journal = {arXiv preprint arXiv:2606.27264},
year = {2026}
}
- Downloads last month
- 54