Instructions to use google/siglip2-so400m-patch16-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/siglip2-so400m-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-so400m-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-so400m-patch16-256", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signaturee8708ab -
Upload README.md with huggingface_hub (#1)
Verified signature- Upload README.md with huggingface_hub (cdc652f3ca20c503361185210e291743e59d23ed)88f63da
-
Upload config
Verified signaturead12722
-
Upload processor
Verified signature61a29e5 -
Upload model
Verified signature9fe2d18 -
initial commit
Verified signaturedb885da