Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ datasets:
|
|
| 4 |
- ILSVRC/imagenet-1k
|
| 5 |
- mlfoundations/datacomp_small
|
| 6 |
base_model:
|
| 7 |
-
- laion/CLIP-ViT-g-14-laion2B-
|
| 8 |
---
|
| 9 |
|
| 10 |
Model Initialized from `laion/CLIP-ViT-g-14-laion2B-s34B-b88K`. The text encoder is finetuned with LEAF at $k=1$ with $\rho=50$ and semantic constraints.
|
|
@@ -15,7 +15,7 @@ To load this model use:
|
|
| 15 |
from transformers import CLIPProcessor, CLIPModel
|
| 16 |
|
| 17 |
model_name = "LEAF-CLIP/OpenCLIP-ViT-g-rho50-k1-constrained"
|
| 18 |
-
processor_name = "laion/CLIP-ViT-g-14-laion2B-
|
| 19 |
|
| 20 |
model = CLIPModel.from_pretrained(model_name)
|
| 21 |
processor = CLIPProcessor.from_pretrained(processor_name)
|
|
|
|
| 4 |
- ILSVRC/imagenet-1k
|
| 5 |
- mlfoundations/datacomp_small
|
| 6 |
base_model:
|
| 7 |
+
- laion/CLIP-ViT-g-14-laion2B-s12B-b42K
|
| 8 |
---
|
| 9 |
|
| 10 |
Model Initialized from `laion/CLIP-ViT-g-14-laion2B-s34B-b88K`. The text encoder is finetuned with LEAF at $k=1$ with $\rho=50$ and semantic constraints.
|
|
|
|
| 15 |
from transformers import CLIPProcessor, CLIPModel
|
| 16 |
|
| 17 |
model_name = "LEAF-CLIP/OpenCLIP-ViT-g-rho50-k1-constrained"
|
| 18 |
+
processor_name = "laion/CLIP-ViT-g-14-laion2B-s12B-b42K"
|
| 19 |
|
| 20 |
model = CLIPModel.from_pretrained(model_name)
|
| 21 |
processor = CLIPProcessor.from_pretrained(processor_name)
|