Skip to content
ModelListedExternal
Download

Dino Vitb16 Fare4

Robust perceptual metric, based on DINO model facebook/dino-vitb16. Adversarially fine-tuned with FARE (Schlarmann et al. (2024)) on ImageNet with infinity-norm and radius 4/255.

KindOtherBase modelfacebook/dino-vitb16VersionRevision a759ec0

Model source

Kind
Other
File size
330 MB
Base model
facebook/dino-vitb16
Version
vRevision a759ec0
Updated
Sep 16, 2026
Downloads
10
Source
Hugging Face

Source description

[Paper] [GitHub]

Robust perceptual metric, based on DINO model facebook/dino-vitb16. Adversarially fine-tuned with FARE (Schlarmann et al. (2024)) on ImageNet with infinity-norm and radius 4/255.

Usage

preprocessor = transforms.Compose([
                transforms.Resize(256, interpolation=3),
                transforms.CenterCrop(224),
                transforms.ToTensor(),
                transforms.Normalize((0.485, 0.456, 0.406), (0.229, 0.224, 0.225)),
            ])
model = AutoModel.from_pretrained("ch20/dino-vitb16-fare4")

Citation

If you find this model useful, please consider citing our papers:

@inproceedings{croce2024adversarially,
  title={Adversarially Robust CLIP Models Can Induce Better (Robust) Perceptual Metrics},
  author={Croce, Francesco and Schlarmann, Christian and Singh, Naman Deep and Hein, Matthias},
  year={2025},
  booktitle={{SaTML}}
}
@inproceedings{schlarmann2024robustclip,
    title={Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language 
    Models}, 
    author={Schlarmann, Christian and Singh, Naman Deep and Croce, Francesco and Hein, Matthias},
    year={2024},
    booktitle={{ICML}}
}

Sources

1 source
Hugging FacePrimaryVersion a759ec0e4d4db268ef6dffceece535be21304861
huggingface.co/chs20/dino-vitb16-fare4/tree/a759ec0e4d4db268ef6dffceece535be21304861

Verified Sep 16

Model artifacts

1 artifact

model.safetensors

safetensors · 330 MB · SHA-256 bb45aa9aa5ee…c8c2 · Hugging Face

Download file

Source excerpts

2 excerpts

--- license: mit library_name: transformers tags: - dino - vision base_model: - facebook/dino-vitb16 --- [[Paper]](https://openreview.net/forum?id=e3scLKNiNg&noteId=e3scLKNiNg) [[GitHub]](https://github.com/fra31/perceptual-metrics) Robust perceptual metric, based on DINO model `facebook/dino-vitb16`. Adversarially fine-tuned with FARE ([Schlarmann et al. (2024)](https://arxiv.org/abs/2402.12336)) on ImageNet with infinity-norm and radius 4/255. ## Usage ```python preprocessor = transforms.Compose([ transforms.Resize(256, interpolation=3), transforms.CenterCrop(224), transforms.ToTensor(), transforms.Normalize((0.485, 0.456, 0.406), (0.229, 0.224, 0.225)), ]) model = AutoModel.from_pretrained("ch20/dino-vitb16-fare4") ``` ## Citation If you find this model useful, please consider citing our papers: ```bibtex @inproceedings{croce2024adversarially, title={Adversarially Robust CLIP Models Can Induce Better (Robust) Perceptual Metrics}, author={Croce, Francesco and Schlarmann, Christian and Singh, Naman Deep and Hein, Matthias}, year={2025}, booktitle={{SaTML}} } ``` ```bibtex @inproceedings{schlarmann2024robustclip, title={Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models}, author={Schlarmann, Christian and Singh, Naman Deep and Croce, Francesco and Hein, Matthias}, year={2024}, booktitle={{ICML}} } ```

Source context: 10 downloads · 0 likes · Pipeline image-feature-extraction · Library transformers · Repo chs20/dino-vitb16-fare4