Instructions to use laion/CLIP-ViT-B-16-laion2B-s34B-b88K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use laion/CLIP-ViT-B-16-laion2B-s34B-b88K with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:laion/CLIP-ViT-B-16-laion2B-s34B-b88K') tokenizer = open_clip.get_tokenizer('hf-hub:laion/CLIP-ViT-B-16-laion2B-s34B-b88K') - Notebooks
- Google Colab
- Kaggle
The model parameters have been renamed and a config file has been provided to enable its usage with the CLIPModel in the transformers library.
1
#2 opened about 2 years ago
by
zooblastlbz
there are no config for transformers
2
#1 opened over 2 years ago
by
forty-lock