Skip to content
Other

PanOrgan 3.2: Multimodal model for medical screening

1 min read

PanOrgan 3.2 is a specialized multimodal model (a model processing different types of data) for screening and diagnosis based on 20,175 medical samples across 11 cohorts. The PanOrganNetV2 architecture integrates five imaging modalities: MRI, CT, Ultrasound, chest X-ray (CXR), and mammography. The model was trained without patient data leakage and provides classification results with confidence calibration. It is useful for medical informatics researchers and diagnostic system developers.

Key features

  • Support for five medical modalities: MRI, CT, Ultrasound, CXR, and MG.
  • Trained on 11 diverse cohorts, including KiTS23 and CMMD.
  • Custom PanOrganNetV2 backbone built on PyTorch.
  • Improved probability calibration (ECE reduced to 0.0479).

What you can do

  • Use the best.pt checkpoint and the modeling_panorgan.py model file for research and fine-tuning.
  • Review the evaluation report in thesis_report.json and the plots in the figures/ folder.
  • Test the model on held-out medical images across various modalities.

Example

import torch
from huggingface_hub import hf_hub_download

ckpt_path = hf_hub_download(repo_id="theshoaibme/PanOrgan-3.2", filename="best.pt")
state = torch.load(ckpt_path, map_location="cpu", weights_only=False)
print("Loaded keys:", list(state.keys()) if isinstance(state, dict) else type(state))
Read moreDetails
Architecture: PanOrganNetV2 (PyTorch)
Test metrics: macro_f1 0.8479, accuracy 0.7897
ECE calibration: 0.0845 (before) / 0.0479 (after)
Data volume: 20,175 samples, 9,381 patients
Examples
Discuss Telegram 0 1

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 0.7 GB · ready files1.3 GB
  • FP8 / INT8recommendedweights 0.3 GB0.9 GB
  • 4-bitweights 0.2 GB0.7 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · BF16 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # theshoaibme/PanOrgan-3.2
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download theshoaibme/PanOrgan-3.2 --local-dir ~/models/PanOrgan-3.2
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to PanOrgan-3.2
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of PanOrgan-3.2 (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

theshoaibme/PanOrgan-3.2
Author
theshoaibme
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

10

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments