How to use SynthFairCLIP/clip-vit-base-patch16-mixed with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:SynthFairCLIP/clip-vit-base-patch16-mixed') tokenizer = open_clip.get_tokenizer('hf-hub:SynthFairCLIP/clip-vit-base-patch16-mixed')
What is a pickle import?