Views
No views yet
laion/CLIP-ViT-g-14-laion2B-s34B-b88K. The text encoder is finetuned with LEAF at $k=1$ with $\rho=50$ and semantic constraints.1from transformers import CLIPProcessor, CLIPModel
2
3model_name = "LEAF-CLIP/OpenCLIP-ViT-g-rho50-k1-constrained"
4processor_name = "laion/CLIP-ViT-g-14-laion2B-s12B-b42K"
5
6model = CLIPModel.from_pretrained(model_name)
7processor = CLIPProcessor.from_pretrained(processor_name)