VeloRad (CT-RATE, step 40k)

Weights of VeloRad, a non-autoregressive radiology report generator that synthesises the Findings section by integrating a flow-matching ODE in a frozen T5-small latent space, with no LLM decoder.

Code: https://github.com/WongJiayi/VeloRad

Files

File Content
velorad_ctrate_40k.pt EMA weights of the report generator (~0.8B: flow-matching backbone + Perceiver/cross-attention conditioning), step 40k. Keys: params, ct_proj, step. Optimizer state removed.
config.yml Training config of this checkpoint (data paths replaced by placeholders).

The frozen SigVLP 3D CT encoder (~0.3B) that produces the input patch tokens is not included; obtain it from the SigVLP release.

Results (CT-RATE validation, 3,039 volumes)

RadBERT 18-class, support-weighted: precision 0.437, recall 0.377, F1 0.403 (64 ODE steps, CFG 1, self-conditioning CFG 1).

Usage

git clone https://github.com/WongJiayi/VeloRad && cd VeloRad
pip install -r requirements.txt
huggingface-cli download EnyaWoooo/VeloRad --local-dir weights

cat > samp_paper.yml <<'YML'
- sampling_method: ode
  num_sampling_steps: [64]
  cfgs: [1]
  self_cond_cfg_scales: [1]
  time_schedule: logit_normal
YML

python scripts/gen_full_val.py \
    --checkpoint weights/velorad_ctrate_40k.pt \
    --samp_cfg samp_paper.yml \
    --parquet /path/to/patch_token_index_valid.parquet \
    --report_csv /path/to/CT-RATE/radiology_text_reports/validation_reports.csv \
    --out eval_results/full_val_generated.jsonl

The checkpoint loads with torch.load(path, map_location="cpu", weights_only=True).

Citation

BibTeX will be added after publication.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train EnyaWoooo/VeloRad

Paper for EnyaWoooo/VeloRad