Safetensors
clip
megaelius's picture
Update README.md
15ebc3f verified
metadata
license: mit
datasets:
  - ILSVRC/imagenet-1k
  - mlfoundations/datacomp_small
base_model:
  - openai/clip-vit-large-patch14

Model Initialized from openai/clip-vit-large-patch14. The image encoder is finetuned with FARE at $\epsilon=2/255$. The text encoder is finetuned with LEAF at $k=1$ with $\rho=1$.

To load this model use:

from transformers import CLIPProcessor, CLIPModel

model_name = "LEAF-CLIP/CLIP-ViT-L-rho1-k1-FARE2"
processor_name = "openai/clip-vit-large-patch14"

model = CLIPModel.from_pretrained(model_name)
processor = CLIPProcessor.from_pretrained(processor_name)