Instructions to use google/siglip2-so400m-patch14-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/siglip2-so400m-patch14-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="google/siglip2-so400m-patch14-224") 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-patch14-224", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signature78e4039 -
Upload README.md with huggingface_hub (#1)
Verified signature- Upload README.md with huggingface_hub (65e16b5d6b18683edc17101b0cbe9ac23b33b583)be50e07
-
Upload config
Verified signature9692b28
-
Upload processor
Verified signaturef84e50c -
Upload model
Verified signature89bdc58 -
initial commit
Verified signature0855cfc