Instructions to use HuggingFaceM4/tiny-random-siglip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuggingFaceM4/tiny-random-siglip with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="HuggingFaceM4/tiny-random-siglip", trust_remote_code=True) 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("HuggingFaceM4/tiny-random-siglip", trust_remote_code=True) model = AutoModelForZeroShotImageClassification.from_pretrained("HuggingFaceM4/tiny-random-siglip", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from HuggingFaceM4/tiny-random-siglip: direct link, hf CLI and curl.
- Browser
- Download file 25.4 MB
-
https://huggingface.co/HuggingFaceM4/tiny-random-siglip/resolve/main/model.safetensors
- Command line
-
hf download hf://HuggingFaceM4/tiny-random-siglip/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/HuggingFaceM4/tiny-random-siglip/resolve/main/model.safetensors
25.4 MB
- Xet hash:
- 2c89cd1dc82a982a154029cddbcc46032ba1a355e0e04547e507ea8b762426a6
- Size of remote file:
- 25.4 MB
- SHA256:
- 631e356c6c4b575d065319d18bac52cb783039f71b4f7337f4704758f3f962cd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.