Safetensors
clip
megaelius commited on
Commit
d52c003
·
verified ·
1 Parent(s): b298eaf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -1
README.md CHANGED
@@ -1,4 +1,22 @@
1
  ---
2
  license: mit
 
 
 
 
 
3
  ---
4
- Copy of https://huggingface.co/laion/CLIP-ViT-g-14-laion2B-s34B-b88K in the higgingface CLIP format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ datasets:
4
+ - ILSVRC/imagenet-1k
5
+ - mlfoundations/datacomp_small
6
+ base_model:
7
+ - laion/CLIP-ViT-g-14-laion2B-s34B-b88K
8
  ---
9
+
10
+ The same model in `laion/CLIP-ViT-g-14-laion2B-s34B-b88K` but converted to the CLIPModel format.
11
+
12
+ To load this model use:
13
+
14
+ ```python
15
+ from transformers import CLIPProcessor, CLIPModel
16
+
17
+ model_name = "LEAF-CLIP/OpenCLIP-ViT-g"
18
+ processor_name = "laion/CLIP-ViT-g-14-laion2B-s34B-b88K"
19
+
20
+ model = CLIPModel.from_pretrained(model_name)
21
+ processor = CLIPProcessor.from_pretrained(processor_name)
22
+ ```