Instructions to use laion/CLIP-ViT-L-14-DataComp.XL-s13B-b90K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use laion/CLIP-ViT-L-14-DataComp.XL-s13B-b90K with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:laion/CLIP-ViT-L-14-DataComp.XL-s13B-b90K') tokenizer = open_clip.get_tokenizer('hf-hub:laion/CLIP-ViT-L-14-DataComp.XL-s13B-b90K') - Notebooks
- Google Colab
- Kaggle
Adding the necessary files to make the model compatible with the HF CLIP class
#5
by baltachev - opened
I converted the open_clip model to the HF CLIP compatible model and added the necessary files (preprocessor_config.json and config.json). Double-checked that the models outputs are the same.
Thanks @baltachev !
gabrielilharco changed pull request status to merged