Instructions to use apple/MobileCLIP-S1-OpenCLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use apple/MobileCLIP-S1-OpenCLIP with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:apple/MobileCLIP-S1-OpenCLIP') tokenizer = open_clip.get_tokenizer('hf-hub:apple/MobileCLIP-S1-OpenCLIP') - Notebooks
- Google Colab
- Kaggle
Download fig_accuracy_latency.png from apple/MobileCLIP-S1-OpenCLIP: direct link, hf CLI and curl.
- Browser
- Download file 437 kB
-
https://huggingface.co/apple/MobileCLIP-S1-OpenCLIP/resolve/main/fig_accuracy_latency.png
- Command line
-
hf download hf://apple/MobileCLIP-S1-OpenCLIP/fig_accuracy_latency.png
-
curl -L -o fig_accuracy_latency.png https://huggingface.co/apple/MobileCLIP-S1-OpenCLIP/resolve/main/fig_accuracy_latency.png
437 kB
