Safetensors
clip
File size: 559 Bytes
598d948
77d0220
bb08f11
 
 
 
 
598d948
 
59952c2
bb08f11
598d948
bb08f11
 
598d948
bb08f11
59952c2
598d948
bb08f11
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
license: mit
datasets:
- ILSVRC/imagenet-1k
- mlfoundations/datacomp_small
base_model:
- laion/CLIP-ViT-g-14-laion2B-s34B-b88K
---

Model Initialized from `laion/CLIP-ViT-g-14-laion2B-s12B-b42K`. The image encoder is finetuned with FARE at $\epsilon=2/255$.
To load this model use:

```python
from transformers import CLIPProcessor, CLIPModel

model_name = "LEAF-CLIP/OpenCLIP-ViT-g-FARE2"
processor_name = "laion/CLIP-ViT-g-14-laion2B-s12B-b42K"

model = CLIPModel.from_pretrained(model_name)
processor = CLIPProcessor.from_pretrained(processor_name)
```