Instructions to use timm/MobileCLIP2-B-OpenCLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use timm/MobileCLIP2-B-OpenCLIP with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:timm/MobileCLIP2-B-OpenCLIP') tokenizer = open_clip.get_tokenizer('hf-hub:timm/MobileCLIP2-B-OpenCLIP') - Notebooks
- Google Colab
- Kaggle
transformers and timm version to install?
#1
by sasharma902 - opened
Hi,
Currently I have transformers version 4.56.2 and timm version 1.0.20 and yet I get "Model config for 'MobileCLIP2-B' not found in built-ins."
Looking for help on this.
Thanks!