Instructions to use timm/MobileCLIP2-S4-OpenCLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use timm/MobileCLIP2-S4-OpenCLIP with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:timm/MobileCLIP2-S4-OpenCLIP') tokenizer = open_clip.get_tokenizer('hf-hub:timm/MobileCLIP2-S4-OpenCLIP') - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from timm/MobileCLIP2-S4-OpenCLIP: direct link, hf CLI and curl.
- Browser
- Download file 3.64 MB
-
https://huggingface.co/timm/MobileCLIP2-S4-OpenCLIP/resolve/main/tokenizer.json
- Command line
-
hf download hf://timm/MobileCLIP2-S4-OpenCLIP/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/timm/MobileCLIP2-S4-OpenCLIP/resolve/main/tokenizer.json
3.64 MB
File too large to display, you can check the raw version instead.