Instructions to use Veritone/siglip2-base-patch16-224-vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Veritone/siglip2-base-patch16-224-vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Veritone/siglip2-base-patch16-224-vision") 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 AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("Veritone/siglip2-base-patch16-224-vision") model = AutoModelForZeroShotImageClassification.from_pretrained("Veritone/siglip2-base-patch16-224-vision", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fix model.safetensors: restore vision tensors (file held only logit scalars)
#1
by dietmar-veri - opened
- model.safetensors +2 -2
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68907ae0a24ba7164bf609b8884ea4df4023e76672cc3c204b2770c90e339a17
|
| 3 |
+
size 371561792
|