microsoft / rad-dino-maira-2

huggingface.co
Total runs: 15.8K
24-hour runs: -412
7-day runs: -1.8K
30-day runs: -126
Model's Last Updated: August 22 2024
image-feature-extraction

Introduction of rad-dino-maira-2

Model Details of rad-dino-maira-2

Model card for RAD-DINO-MAIRA-2

Model description

RAD-DINO-MAIRA-2 is a vision transformer model trained to encode chest X-rays using the self-supervised learning method DINOv2 . RAD-DINO-MAIRA-2 is a variant of RAD-DINO , which is described in detail in RAD-DINO: Exploring Scalable Medical Image Encoders Beyond Text Supervision (F. Pérez-García, H. Sharma, S. Bond-Taylor, et al., 2024) .

RAD-DINO-MAIRA-2 is the version of RAD-DINO used in MAIRA-2: Grounded Radiology Report Generation (S. Bannur, K. Bouzid, et al., 2024) . Relative to RAD-DINO , it was trained on more data.

  • Developed by: Microsoft Health Futures
  • Model type: Vision transformer
  • License: MSRLA
  • Finetuned from model: dinov2-base
Uses

RAD-DINO-MAIRA-2 is shared for research purposes only. It is not meant to be used for clinical practice .

The model is a vision backbone that can be plugged to other models for downstream tasks. Some potential uses are:

  • Image classification, with a classifier trained on top of the CLS token
  • Image segmentation, with a decoder trained using the patch tokens
  • Clustering, using the image embeddings directly
  • Image retrieval, using nearest neighbors of the CLS token
  • Report generation, with a language model to decode text

Fine-tuning RAD-DINO-MAIRA-2 is typically not necessary to obtain good performance in downstream tasks.

Biases, risks, and limitations

RAD-DINO-MAIRA-2 was trained with data from three countries, therefore it might be biased towards population in the training data. Underlying biases of the training datasets may not be well characterized.

Getting started
from transformers import pipeline
pipe = pipeline(task="image-feature-extraction", model="microsoft/rad-dino-maira-2", pool=False)
patch_features = pipe("https://www.bhf.org.uk/-/media/images/information-support/tests/chest-x-ray/normal-chest-x-ray-620x400.jpg")

Refer to RAD-DINO for a more detailed example.

Training details
Training data

We used images from five public and one private deidentified chest X-ray datasets to train RAD-DINO-MAIRA-2.

Dataset Num. images
MIMIC-CXR 368 960
CheXpert 223 648
NIH-CXR 112 120
PadChest 136 787
BRAX 41 260
USMix (Private) 521 608
TOTAL 1 404 383

Images in the validation and test sets used to train MAIRA-2 were excluded from the training set of RAD-DINO-MAIRA-2.

We used 8 nodes with 4 A100 GPUs each, and a batch size of 40 images per GPU. We share the last checkpoint, trained for 105 000 steps.

Training procedure

We refer to the manuscript for a detailed description of the training procedure.

Preprocessing

All DICOM files were resized using B-spline interpolation so that their shorter size was 518, min-max scaled to [0, 255], and stored as PNG files.

Training hyperparameters
  • Training regime: fp16 using PyTorch-FSDP mixed-precision.
Evaluation

Our evaluation is best described in the manuscript .

Environmental impact
  • Hardware type: NVIDIA A100 GPUs
  • Hours used: 41 hours/GPU × 8 nodes × 4 GPUs/node = 1312 GPU-hours
  • Cloud provider: Azure
  • Compute region: West US 2
  • Carbon emitted: 98.4 kg CO₂ eq.
Compute infrastructure

RAD-DINO-MAIRA-2 was trained on Azure Machine Learning .

Hardware

We used 8 Standard_NC96ads_A100_v4 nodes with four NVIDIA A100 (80 GB) GPUs each.

Software

We leveraged the code in DINOv2 for training. We used SimpleITK and Pydicom for processing of DICOM files.

Citation

BibTeX:

@misc{perezgarcia2024raddino,
      title={{RAD-DINO}: Exploring Scalable Medical Image Encoders Beyond Text Supervision},
      author={Fernando Pérez-García and Harshita Sharma and Sam Bond-Taylor and Kenza Bouzid and Valentina Salvatelli and Maximilian Ilse and Shruthi Bannur and Daniel C. Castro and Anton Schwaighofer and Matthew P. Lungren and Maria Wetscherek and Noel Codella and Stephanie L. Hyland and Javier Alvarez-Valle and Ozan Oktay},
      year={2024},
      eprint={2401.10815},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

APA:

Pérez-García, F., Sharma, H., Bond-Taylor, S., Bouzid, K., Salvatelli, V., Ilse, M., Bannur, S., Castro, D.C., Schwaighofer, A., Lungren, M.P., Wetscherek, M.T., Codella, N., Hyland, S.L., Alvarez-Valle, J., & Oktay, O. (2024). RAD-DINO: Exploring Scalable Medical Image Encoders Beyond Text Supervision . ArXiv, abs/2401.10815.

Model card contact

Fernando Pérez-García ( [email protected] ).

Runs of microsoft rad-dino-maira-2 on huggingface.co

15.8K
Total runs
-412
24-hour runs
-2.6K
3-day runs
-1.8K
7-day runs
-126
30-day runs

More Information About rad-dino-maira-2 huggingface.co Model

More rad-dino-maira-2 license Visit here:

https://choosealicense.com/licenses/msrla

rad-dino-maira-2 huggingface.co

rad-dino-maira-2 huggingface.co is an AI model on huggingface.co that provides rad-dino-maira-2's model effect (), which can be used instantly with this microsoft rad-dino-maira-2 model. huggingface.co supports a free trial of the rad-dino-maira-2 model, and also provides paid use of the rad-dino-maira-2. Support call rad-dino-maira-2 model through api, including Node.js, Python, http.

rad-dino-maira-2 huggingface.co Url

https://huggingface.co/microsoft/rad-dino-maira-2

microsoft rad-dino-maira-2 online free

rad-dino-maira-2 huggingface.co is an online trial and call api platform, which integrates rad-dino-maira-2's modeling effects, including api services, and provides a free online trial of rad-dino-maira-2, you can try rad-dino-maira-2 online for free by clicking the link below.

microsoft rad-dino-maira-2 online free url in huggingface.co:

https://huggingface.co/microsoft/rad-dino-maira-2

rad-dino-maira-2 install

rad-dino-maira-2 is an open source model from GitHub that offers a free installation service, and any user can find rad-dino-maira-2 on GitHub to install. At the same time, huggingface.co provides the effect of rad-dino-maira-2 install, users can directly use rad-dino-maira-2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

rad-dino-maira-2 install url in huggingface.co:

https://huggingface.co/microsoft/rad-dino-maira-2

Url of rad-dino-maira-2

rad-dino-maira-2 huggingface.co Url

Provider of rad-dino-maira-2 huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:February 03 2022
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:November 25 2025
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:April 08 2024
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:December 08 2025
huggingface.co

Total runs: 294.4K
Run Growth: -191.9K
Growth Rate: -65.18%
Updated:September 26 2022
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:February 14 2024
huggingface.co

Total runs: 141.7K
Run Growth: 108.7K
Growth Rate: 76.73%
Updated:May 12 2026
huggingface.co

Total runs: 123.1K
Run Growth: 24.9K
Growth Rate: 20.25%
Updated:February 03 2023
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:November 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:February 29 2024
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:August 28 2025
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:November 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:December 03 2025
huggingface.co

Total runs: 56.1K
Run Growth: -1.4K
Growth Rate: -2.43%
Updated:December 23 2021
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:April 23 2026
huggingface.co

Total runs: 30.3K
Run Growth: 706
Growth Rate: 2.33%
Updated:April 24 2023