CoolFace
Modelpublic

codewithdark/EVLMs-v2-MIMIC-CXR-ablation-standard-no-mhc-muon

sourceHugging Facecc-by-nc-4.0updated 24d agoView on Hugging Face
0likes35downloads
Model Card

EVLMs-v2 — Standard attention, no mHC, Muon optimizer (Ablation)

Ablation checkpoint of EVLMs-v2, a medical vision-language model (Swin Transformer vision trunk + Gemma-3-1B language decoder with LoRA, multi-task heads for 14-way CheXpert classification and report generation). This repository isolates Standard attention, no mHC, Muon optimizer on the 16,000-sample MIMIC-CXR-VReason subset (777-sample official validation split), batch size 16, bfloat16 autocast, adaptive multi-task loss with per-class positive weighting.

Condition: spatialattentiontype=standard, use_mhc=false, optimizer=Muon(1e-4)+AdamW(1e-4) Status: Partial — killed at the compute budget cap during epoch 2 (~step 1,450); epoch 1 complete Run: https://wandb.ai/codewithdark-islamia-college-peshawar/evlms-v2/runs/ops5lzjg

Results

Epochval lossaccuracy
epoch_0011.06610.7014

Full baseline (mHC + CSA + Muon, same data budget) for reference: val loss 0.8900, accuracy 0.7515, mean AUC 0.6810 at step 6000 (see codewithdark/EVLMs-v2-MIMIC-CXR).

Per-class metrics (last completed epoch)

ClassAUCAP
Atelectasis0.7340.489
Cardiomegaly0.7130.318
Consolidation0.6220.543
Edema0.7260.549
Enlarged Cardiomediastinum0.6800.050
Fracture0.6180.101
Lung Lesion0.4980.073
Lung Opacity0.6830.469
No Finding0.8280.927
Pleural Effusion0.5650.888
Pleural Other0.6090.056
Pneumonia0.6010.396
Pneumothorax0.6420.867
Support Devices0.8290.766

Files

  • —final_model/model.safetensors — final language-model state dict (where the run completed)
  • —best_model.pt — best validation checkpoint
  • —checkpoints/ — periodic step checkpoints
  • —artifacts/epoch_XXX/ — per-epoch metrics + GradCAM explainability overlays
  • —config.json — tracking configuration only (secret values redacted)

Intended use & restrictions

Research use only. Trained on MIMIC-CXR-VReason (derived from MIMIC-CXR, PhysioNet) — not for clinical decision making. Credential fields in config.json are redacted by design.