Downloads · 30 days
14
16% of all-time downloads
LEAF-CLIP/OpenCLIP-ViT-g-rho50-k1-constrained
OpenCLIP-ViT-g-rho50-k1-constrained is a machine learning model from LEAF-CLIP. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
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.
Downloads · 30 days
14
16% of all-time downloads
All-time downloads
87
Public
Parameters
1.4B
5.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.5 GB · 100%
From the Hugging Face model README
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.
To load this model use:
from transformers import CLIPProcessor, CLIPModel
model_name = "LEAF-CLIP/OpenCLIP-ViT-g-rho50-k1-constrained"
processor_name = "laion/CLIP-ViT-g-14-laion2B-s12B-b42K"
model = CLIPModel.from_pretrained(model_name)
processor = CLIPProcessor.from_pretrained(processor_name)