Instructions to use aneforge/clip-vit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ANEForge
How to use aneforge/clip-vit-base-patch32 with ANEForge:
# Run this model on the Apple Neural Engine, without CoreML. import aneforge as af clip = af.load_clip("aneforge/clip-vit-base-patch32") labels = clip.classify(image, ["a photo of a cat", "a photo of a dog"]) # image: a PIL.Image; zero-shot (label, prob) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from aneforge/clip-vit-base-patch32: direct link, hf CLI and curl.
- Browser
- Download file 2.22 MB
-
https://huggingface.co/aneforge/clip-vit-base-patch32/resolve/main/tokenizer.json
- Command line
-
hf download hf://aneforge/clip-vit-base-patch32/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/aneforge/clip-vit-base-patch32/resolve/main/tokenizer.json
2.22 MB
File too large to display, you can check the raw version instead.