Instructions to use Veritone/siglip2-so400m-patch16-512-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Veritone/siglip2-so400m-patch16-512-text with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Veritone/siglip2-so400m-patch16-512-text") 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-so400m-patch16-512-text") model = AutoModelForZeroShotImageClassification.from_pretrained("Veritone/siglip2-so400m-patch16-512-text", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from Veritone/siglip2-so400m-patch16-512-text: direct link, hf CLI and curl.
- Browser
- Download file 4.24 MB
-
https://huggingface.co/Veritone/siglip2-so400m-patch16-512-text/resolve/main/tokenizer.model
- Command line
-
hf download hf://Veritone/siglip2-so400m-patch16-512-text/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/Veritone/siglip2-so400m-patch16-512-text/resolve/main/tokenizer.model
4.24 MB
- Xet hash:
- 4747d621061ff864406560d79c8c3e355c05f2e88ba30eba88c8d5881d3d220d
- Size of remote file:
- 4.24 MB
- SHA256:
- 61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.