Instructions to use google/siglip2-base-patch16-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/siglip2-base-patch16-256 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="google/siglip2-base-patch16-256") 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 AutoModel model = AutoModel.from_pretrained("google/siglip2-base-patch16-256", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signature3f9f96c -
Upload README.md with huggingface_hub (#1)
Verified signature- Upload README.md with huggingface_hub (2f4fc2b159a315b61f62b624aed693346aef133a)80579d9
-
Upload config
Verified signature950d2ca
-
Upload processor
Verified signature6328738 -
Upload model
Verified signaturece3bda6 -
initial commit
Verified signature90ef77e