Instructions to use google/siglip2-so400m-patch16-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/siglip2-so400m-patch16-512 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-512") 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-512", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signatureceea1cb -
Upload README.md with huggingface_hub (#1)
Verified signature- Upload README.md with huggingface_hub (4b03c98c54ce426a4c3d66f0d91b52fb78d4a001)69fd395
-
Upload config
Verified signatureb5247ab
-
Upload processor
Verified signature7f2d76a -
Upload model
Verified signature03f865d -
initial commit
Verified signature55c7fc1