Instructions to use google/siglip2-so400m-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/siglip2-so400m-patch16-384 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-384") 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-384", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signaturedd658fa -
Upload README.md with huggingface_hub (#1)
Verified signature- Upload README.md with huggingface_hub (1f54c201a47198f20113b38b4eafa44a096e0229)e1f8487
-
Upload config
Verified signature367907f
-
Upload processor
Verified signatureb980325 -
Upload model
Verified signature3928b7c -
initial commit
Verified signature6f5854f