Safetensors
clip
megaelius commited on
Commit
f9ef4dd
·
verified ·
1 Parent(s): 3c735f8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -2
README.md CHANGED
@@ -1,4 +1,22 @@
1
  ---
2
- library_name: transformers
 
 
 
 
 
3
  ---
4
- Initialized with RCLIP/OpenCLIP-ViT-H-rho50-k1 and trained with FARE2 for 1 epoch on ImageNet, bs 128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ datasets:
4
+ - ILSVRC/imagenet-1k
5
+ - mlfoundations/datacomp_small
6
+ base_model:
7
+ - laion/CLIP-ViT-H-14-laion2B-s32B-b79K
8
  ---
9
+
10
+ Model Initialized from `laion/CLIP-ViT-H-14-laion2B-s32B-b79K`. The image encoder is finetuned with FARE at $\epsilon=2/255$. The text encoder is finetuned with LEAF at $k=1$ with $\rho=50$.
11
+
12
+ To load this model use:
13
+
14
+ ```python
15
+ from transformers import CLIPProcessor, CLIPModel
16
+
17
+ model_name = "LEAF-CLIP/OpenCLIP-ViT-H-rho50-k1-FARE2"
18
+ processor_name = "laion/CLIP-ViT-H-14-laion2B-s32B-b79K"
19
+
20
+ model = CLIPModel.from_pretrained(model_name)
21
+ processor = CLIPProcessor.from_pretrained(processor_name)
22
+ ```