Instructions to use shaunster/clip_8_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shaunster/clip_8_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="shaunster/clip_8_model") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("shaunster/clip_8_model") model = AutoModelForZeroShotImageClassification.from_pretrained("shaunster/clip_8_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from shaunster/clip_8_model: direct link, hf CLI and curl.
- Browser
- Download file 606 MB
-
https://huggingface.co/shaunster/clip_8_model/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://shaunster/clip_8_model/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/shaunster/clip_8_model/resolve/main/pytorch_model.bin
606 MB
- Xet hash:
- 8f8c2ea0c74a44e796afab30579db6ef5a527eeb4529791e82951918e45c0aa8
- Size of remote file:
- 606 MB
- SHA256:
- 709c4a2c1217e4481a31d0df0d74bc3267393770f5cf8b1043a40bb0407b1ea7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.