Download README.md from Forithmus/FORA: direct link, hf CLI and curl.
- Browser
- Download file 18.8 kB
-
https://huggingface.co/datasets/Forithmus/FORA/resolve/main/README.md
- Command line
-
hf download hf://datasets/Forithmus/FORA/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/Forithmus/FORA/resolve/main/README.md
title: FORA
license: cc-by-nc-sa-4.0
task_categories:
- image-to-text
- text-to-image
- image-classification
- zero-shot-classification
- visual-question-answering
- object-detection
language:
- en
tags:
- chest-x-ray
- chest-radiograph
- radiology
- radiology-report-generation
- medical
- medical-imaging
- multimodal
- vision-language
- healthcare
- diagnostic-imaging
- computer-vision
- foundation-model
- science
- huggingscience
- fora
size_categories:
- 100K<n<1M
pretty_name: FORA | Chest Radiographs for Architecture Development
extra_gated_prompt: >
## Terms and Conditions for Using the FORA Chest Radiograph Dataset
**1. Acceptance of Terms**
Accessing and using the FORA chest radiograph dataset implies your agreement
to these terms
and conditions. If you disagree with any part, please refrain from using the
dataset.
**2. Permitted Use**
- The dataset is intended solely for academic, research, and educational
purposes.
- Any commercial exploitation of the dataset without prior permission is
strictly forbidden.
- You must adhere to all relevant laws, regulations, and research ethics,
including data privacy and protection standards.
**3. Data Protection and Privacy**
- Acknowledge the presence of sensitive information within the dataset and
commit to maintaining data confidentiality.
- Direct attempts to re-identify individuals from the dataset are prohibited.
- Ensure compliance with data protection laws such as GDPR and HIPAA.
**4. Attribution**
- Cite the dataset and acknowledge the providers in any publications resulting
from its use.
- Claims of ownership or exclusive rights over the dataset or derivatives are
not permitted.
**5. Redistribution**
- Redistribution of the dataset or any portion thereof is not allowed.
- Sharing derived data must respect the privacy and confidentiality terms set
forth.
**6. Disclaimer**
The dataset is provided "as is" without warranty of any kind, either expressed
or implied,
including but not limited to the accuracy or completeness of the data.
**7. Limitation of Liability**
Under no circumstances will the dataset providers be liable for any claims or
damages
resulting from your use of the dataset.
**8. Access Revocation**
Violation of these terms may result in the termination of your access to the
dataset.
**9. Amendments**
The terms and conditions may be updated at any time; continued use of the
dataset signifies
acceptance of the new terms.
**10. Governing Law**
These terms are governed by the laws of the location of the dataset providers,
excluding
conflict of law rules.
**Consent:**
Accessing and using the FORA chest radiograph dataset signifies your
acknowledgment and
agreement to these terms and conditions.
extra_gated_fields:
First Name: text
Last Name: text
Institution: text
Role: text
Email: text
I have read and agree with Terms and Conditions for using the FORA chest radiograph dataset: checkbox
configs:
- config_name: reports
data_files:
- split: train
path: reports/batch*_reports.csv
- config_name: metadata
data_files:
- split: train
path: metadata/batch*_metadata.csv
- config_name: labels
data_files:
- split: train
path: labels/fora_cxr_labels.csv
FORA | Reliable and grounded reporting of any computed tomography scan
FORA is a general-purpose CT model that generates radiology reports and localizes findings on the scan. In the FORA study, we evaluated the model across 12 CT examination types and 1,028 radiological concepts.
This repository releases the chest radiograph dataset we used to optimize and benchmark the FORA architecture before training the CT model. The imaging data available here consist of 302,772 chest X-rays paired with study-level radiology reports. The repository also provides image metadata, report-derived finding labels, patient-level splits and model weights for both CT and chest X-ray inference.
Release history
- 2026-11-25 — Released the chest radiographs, paired reports, image metadata, finding labels and patient-level splits used in the initial FORA architecture experiments.
Chest radiograph cohort
The dataset contains 302,772 chest radiographs from 286,561 studies of 193,667 patients. The examinations were acquired during routine care at Istanbul Medipol University hospitals between 2008 and 2026. Patients range from newborns to older adults.
Each study corresponds to one examination and its radiology report. A study can contain several images, such as a posteroanterior and a lateral view from the same examination or repeated portable radiographs.
| Cohort characteristic | Count |
|---|---|
| Patients | 193,667 |
| Studies with radiology reports | 286,561 |
| Radiographs | 302,772 |
| Posteroanterior (PA) images | 219,940 |
| Anteroposterior (AP) images | 37,398 |
| Lateral images | 14,672 |
| Other frontal or unclassified images | 30,762 |
| Paediatric studies (age < 18 years) | 66,177 |
| Total dataset size | 1.80 TB |
Example from the chest X-ray architecture experiments. Numbers link corresponding statements in the radiologist’s report and the generated report. Dots indicate which reference findings each model reported.
Radiographs
Images were exported from the hospital PACS as DICOM files and converted to pixel arrays using pydicom. Each image retains its native matrix and stored bit depth. The median matrix is 2,540 × 2,631 pixels, the median pixel spacing is 0.148 mm, and the original stored bit depth ranges from 10 to 16 bits.
The conversion pipeline applied the modality lookup table and inverted MONOCHROME1 images so that higher pixel values correspond to brighter display intensities throughout the dataset. Images were stored as unsigned 16-bit integers without resizing, cropping, windowing or histogram equalisation.
The pixel arrays were compressed losslessly using JPEG-LS, reducing storage to approximately half the raw pixel size. Each compressed image was decoded and compared pixel by pixel with its input array.
Metadata
Each image has a metadata record containing its acquisition view, patient age and sex, scanner manufacturer and model, pixel spacing, exposure parameters and scanner display window, where available.
Patient and study records use pseudonymous identifiers. Names, accession numbers, original DICOM UIDs, institution and station information, operator and physician fields, device serial numbers, private tags and absolute dates and times were removed. The days_since_first_study field preserves the order and spacing of a patient's follow-up examinations. Ages of 90 years and above are recorded as 90.
Radiology reports
Reports were anonymized to remove patient and staff identifiers, translated from Turkish into English and organized into five sections: clinical information, technique, comparison, findings and impression.
Dates mentioned in the report text were replaced with tokens such as [date_1] and [date_2]. The same date receives the same token within a report, preserving references to prior examinations. Times of day were replaced with [time].
Finding labels
Each report was labeled against a vocabulary of 311 chest radiograph findings in 16 categories, covering abnormalities, anatomical variants, support devices and postoperative states.
Labels were extracted from the findings and impression sections using Gemma-4-31B-it. The first pass identified candidate findings from the vocabulary. The second checked each candidate against a verbatim quotation from the report. The third applied the verification results and rechecked commonly missed findings. The full procedure is described in the FORA paper.
| Value | Interpretation |
|---|---|
1 |
Asserted. The report states that the finding is present. |
-1 |
Uncertain. The report describes the finding as possible or suspected. |
0 |
Denied. The report explicitly states that the finding is absent. |
| Empty | Unmentioned. The report does not address the finding. |
For the chest X-ray classification experiments, asserted and uncertain findings counted as positive, and unmentioned findings were treated as negative. The 129 findings with at least 50 positive training studies are listed in labels/fora_cxr_paper_targets.json.
Data splits
The release includes the patient-level splits used in the chest X-ray experiments. All studies and images from a patient belong to the same split.
| Split | Patients | Studies | Images |
|---|---|---|---|
| Train | 173,865 | 257,596 | 272,110 |
| Validation | 19,802 | 28,965 | 30,662 |
| Total | 193,667 | 286,561 | 302,772 |
Dataset organization
Images are grouped into 98 batches, numbered 00 through 97. All studies from a patient belong to the same batch. Each batch contains four ZIP archives that can be downloaded individually.
Validation patients are in batches 01, 09, 15, 26, 33, 59, 60, 62, 68 and 85.
Forithmus/FORA
├── images/
│ ├── batch00/
│ │ ├── batch00_part0.zip
│ │ ├── ...
│ │ └── batch00_part3.zip
│ └── ...
├── metadata/
│ ├── batch00_metadata.csv # One row per image
│ └── ...
├── reports/
│ ├── batch00_reports.csv # One row per study
│ └── ...
├── labels/
│ ├── fora_cxr_labels.csv # One row per study, 311 finding columns
│ ├── fora_cxr_vocabulary.json # Findings and their categories
│ └── fora_cxr_paper_targets.json
├── splits.csv # One row per study
└── weights/
└── README.md # Model checkpoints and dependencies
Within each archive, each study has its own folder.
<study_uid>/
├── <study_uid>_pa.jls
├── <study_uid>_lateral.jls
└── ...
File names include the series_id, which identifies the view as pa, ap, lateral, frontal or other. The frontal value denotes a frontal image whose projection could not be determined. Repeated images of the same view receive suffixes such as -2 and -3 in acquisition order.
Joining the tables
| Identifier | Use |
|---|---|
patient_uid |
Group examinations from the same patient. |
study_uid |
Join image metadata to the corresponding report, finding labels and split. |
series_id |
Identify an individual image within a study and locate it by file name. |
Metadata columns
| Column | Description |
|---|---|
patient_uid, study_uid, series_id |
Pseudonymous patient, study and within-study image identifiers. |
batch_id, split |
Batch folder and patient-level data split. |
file |
Image location in the form <zip path>::<path inside the zip>. |
days_since_first_study |
Days since the patient's first study in the dataset. The first study has value 0. |
patient_age_years |
Age at examination. Ages below 2 years have two decimal places, ages from 2 years are in whole years, and ages of 90 or above are recorded as 90. |
patient_sex |
M, F or empty. |
view |
Acquisition view inferred from DICOM view position, series description and protocol. Values include PA, AP, lateral, frontal-? and other. |
anatomy |
chest or chest-abdomen. The latter includes images covering the abdomen, common in newborns. |
processing_state |
ORIGINAL, POST_PROCESSED or DERIVED, based on the DICOM image type. |
rows, columns |
Image dimensions in pixels. |
pixel_spacing_mm, pixel_spacing_source |
Row and column spacing in millimetres and the source DICOM attribute. |
inverted_from_monochrome1 |
Whether the original image used MONOCHROME1 and was inverted. |
window_center, window_width |
Scanner display window in the pixel values of the released image. |
Modality, Manufacturer, ManufacturerModelName |
Imaging modality (CR or DX) and scanner information. |
BodyPartExamined |
Body part recorded by the scanner. |
ViewPosition, ImageLaterality, PatientPosition |
Original DICOM positioning attributes. |
PhotometricInterpretationOriginal, BitsStored, PixelSpacing, ImagerPixelSpacing |
Original DICOM pixel attributes. |
KVP, ExposureTime_ms, XRayTubeCurrent_mA, Exposure_mAs, ExposureIndex, TargetExposureIndex, DeviationIndex, AreaDoseProduct_dGycm2, DistanceSourceToDetector_mm, Grid, FilterType |
Exposure and geometry attributes, left empty when the scanner did not record them. |
BurnedInAnnotation |
Original DICOM flag. Annotations in the dataset are laterality and orientation markers. |
Reports, labels and splits
| File | Contents |
|---|---|
reports/batchXX_reports.csv |
patient_uid, study_uid, batch_id, split, clinical_information, technique, comparison, findings and impression. Empty report sections are stored as empty strings. |
labels/fora_cxr_labels.csv |
study_uid, split and one column per finding. |
labels/fora_cxr_vocabulary.json |
The full vocabulary of 311 findings and their categories. |
labels/fora_cxr_paper_targets.json |
The 129 classification targets used in the chest X-ray experiments. |
splits.csv |
patient_uid, study_uid, batch_id and split. |
Getting started
After obtaining access, use huggingface_hub to download the tables and a subset of the images. This example downloads all four archives in validation batch 01 (approximately 17 GB), along with the splits, labels, metadata and reports.
from huggingface_hub import snapshot_download
root = snapshot_download(
repo_id="Forithmus/FORA",
repo_type="dataset",
allow_patterns=[
"splits.csv",
"labels/*",
"metadata/*",
"reports/*",
"images/batch01/*",
],
)
To read an image directly from its archive, install imagecodecs and decode the JPEG-LS data. The example also applies the scanner's display window when available.
from pathlib import Path
import zipfile
import imagecodecs
import numpy as np
import pandas as pd
root = Path(root)
metadata = pd.read_csv(root / "metadata" / "batch01_metadata.csv")
row = metadata.iloc[0]
archive, member = row["file"].split("::", 1)
with zipfile.ZipFile(root / archive) as z:
image = imagecodecs.jpegls_decode(z.read(member))
center = row["window_center"]
width = row["window_width"]
if pd.notna(center) and pd.notna(width) and width > 0:
lower = center - width / 2
display_image = np.clip((image.astype(np.float32) - lower) / width, 0, 1)
The reports, metadata and labels configurations can also be browsed in the Hugging Face dataset viewer or loaded with datasets. Use the split column or splits.csv to select the experimental training or validation cohort.
from datasets import load_dataset
reports = load_dataset("Forithmus/FORA", "reports", split="train")
validation_reports = reports.filter(lambda row: row["split"] == "validation")
Model weights and inference
FORA combines a self-supervised visual encoder, multiple-instance learning and an interpretable concept bottleneck. It learns to recognize and localize findings using routine radiology reports as supervision.
The weights/ directory contains separate checkpoints for the FORA CT model and the chest X-ray model used in the architecture experiments, together with the Gemma-4-31B-it and DINOv2-large models used by the inference code.
huggingface-cli download Forithmus/FORA \
--repo-type dataset \
--include "weights/*" \
--local-dir fora
| Task | Inference script in the FORA code repository |
|---|---|
| Run FORA on a CT examination | inference/ct/infer.py |
| Run the chest X-ray model on a radiograph study | inference/cxr/infer.py |
See the weights README for checkpoint contents and the FORA inference guide for input formats, commands and outputs.
Citation
If you use the dataset or models, please cite the FORA paper.
@article{er2026fora,
title = {Reliable and grounded reporting of any computed tomography scan with FORA},
author = {Er, Sezgin and Turkbey, Utku and G{\"u}r, Alperen and Durugol, Omer Faruk and Shit, Suprosanna and
Xu, Murong and Wolleb, Julia and Wang, Jiayi and Wang, Xiaoliang and Reynaud, Hadrien and
Spasojevic, Teodora and Yang, Dong and Myronenko, Andriy and Guo, Pengfei and He, Yufan and
Zhao, Can and Edgar, Marc and Maier, Andreas and Moor, Michael and Ozdemir, Mehmet Kemal and
Xu, Daguang and Kainz, Bernhard and Menze, Bjoern and Hamamci, Ibrahim Ethem},
journal = {arXiv preprint arXiv:2611.32823},
year = {2026}
}
Dataset license
The FORA chest radiograph dataset is released under the Creative Commons Attribution–NonCommercial–ShareAlike 4.0 International license (CC BY-NC-SA 4.0).
For commercial licensing inquiries, contact contact@forithmus.com.