SAVRN
Search Contact SAVRN

Open-weight model · Zero shot image classification

DermFM-Zero

by Siyuan Yan redlessone/DermFM-Zero

DermFM-Zero is a dermatology vision–language foundation model. It pairs a PanDerm ViT-L/16 vision encoder with native-resolution input (NaViT patch-and-pack) and a PubMedBERT-256 text encoder pretrained on a Derm1M knowledge tree (KEP), aligned on 517,455…

Parameters
Context
Weights1.7 GB
Licensecc-by-nc-nd-4.0
AccessOpen weights
Monthly Downloads

Model Card

DermFM-Zero is a dermatology vision–language foundation model. It pairs a PanDerm ViT-L/16 vision encoder with native-resolution input (NaViT patch-and-pack) and a PubMedBERT-256 text encoder pretrained on a Derm1M knowledge tree (KEP), aligned on 517,455 public dermatology image–text pairs with multi-aspect knowledge contrastive learning (MAKE) and knowledge distillation. It performs zero-shot diagnosis and cross-modal retrieval, serves as a backbone for multimodal fine-tuning and VQA, and yields interpretable concepts through sparse autoencoders. Across extensive benchmarks and three multinational reader studies, DermFM-Zero achieves state-of-the-art zero-shot performance while improving…

Excerpt from the card by Siyuan Yan, licensed cc-by-nc-nd-4.0.

Identity and Version

Repository
redlessone/DermFM-Zero
Publisher
Siyuan Yan
Task
Zero shot image classification
Modality
Other
Library
transformers
Parameters
Not stated by the source
Languages
en
Revision
5dc0cc8374e79094d9c7644acd52879ff51c5599
First published
2026-09-17
Last updated
2026-09-18

Files and Weights

5 files, 1.7 GB in total. The weights are 1 file totalling 1.7 GB in bin.

Weights1 file · 1.7 GB
Configuration1 file · 614 B
Documentation1 file · 13.5 KB
Other1 file · 499.3 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
open_clip_pytorch_model.binWeights1.7 GB 83f498e3ee5e
open_clip_config.jsonConfiguration614 B
README.mdDocumentation13.5 KB
pretrain_image_lists/isic_image_ids.txtOther499.3 KB
.gitattributesRepository1.5 KB

License and Download

License
cc-by-nc-nd-4.0
Access
Open weights, no gate
Download size
1.7 GB
Download from Siyuan Yan

Released by Siyuan Yan through its official repository on Hugging Face.

Built From

  • Described by arXiv:2404.09942

Memory Requirements

PrecisionWeights in memory
As published1.7 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About DermFM-Zero

What license is DermFM-Zero released under?

cc-by-nc-nd-4.0, as its publisher declares it. Read the license text before commercial use.

Similar Models

Model · Zero shot image classification

clip-vit-base-patch32

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The model uses a ViT-B/32 Transformer architecture as an image encoder and uses a masked self-attention…

Open weights 77 tokens transformers

Model · Zero shot image classification

clip-vit-large-patch14-336

OpenAI

This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - trainingprecision: float32 - Transformers 4.21.3 - TensorFlow 2.8.2 - Tokenizers 0.12.1

Open weights 77 tokens transformers

Model · Zero shot image classification

clip-vit-base-patch16

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The base model uses a ViT-B/16 Transformer architecture as an image encoder and uses a masked…

Open weights 77 tokens transformers

Model · Zero shot image classification

CLIP-convnext_base_w-laion2B-s13B-b82K-augreg

LAION eV

A series of CLIP ConvNeXt-Base (w/ wide embed dim) models trained on subsets LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Explore an alternative to ViT and ResNet (w/ AttentionPooling) CLIP models that scales well with model size and image resolution First known ConvNeXt CLIP models trained at scale in the range of CLIP ViT-B/16 and RN50x4 models First released model weights exploring increase of augmentation + regularization for image tower via adding (greater scale range of RRC, random erasing, stochastic depth) The models utilize the timm ConvNeXt-Base model (convnextbase) as the image tower, and the same text tower as the RN50x4…

Open weights mit open_clip

Model · Zero shot image classification

DermLIP_ViT-B-16

Siyuan Yan

DermLIP is a vision-language model for dermatology, trained on the Derm1M dataset—the largest dermatological image-text corpus to date. python import openclip from PIL import Image import torch model,, preprocess = openclip.createmodelandtransforms( 'hf-hub:redlessone/DermLIPViT-B-16' model.eval() tokenizer = openclip.gettokenizer('hf-hub:redlessone/DermLIPViT-B-16') image = preprocess(Image.open("yourskinimage.png")).unsqueeze(0) PADCLASSNAMES = [ "nevus", "basal cell carcinoma", "actinic keratosis", "seborrheic keratosis", "squamous cell carcinoma", "melanoma" template = lambda c: f'This is a skin image of {c}' text = tokenizer([template(c) for c in PADCLASSNAMES]) with torch.nograd()…

Open weights cc-by-4.0 transformers

Model · Zero shot image classification

CLIP-ViT-B-32-laion2B-s34B-b79K

LAION eV

A CLIP ViT-B/32 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Model training done by Romain Beaumont on the stability.ai cluster. As per the original OpenAI CLIP model card, this model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, arbitrary image classification. We also hope it can be used for interdisciplinary studies of the potential impact of such model. The OpenAI CLIP paper includes a discussion of potential downstream impacts to provide an example for this sort of analysis.…

Open weights mit 151M parameters 77 tokens open_clip