Instructions to use dleemiller/siglip2-math-base-patch16-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dleemiller/siglip2-math-base-patch16-256 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="dleemiller/siglip2-math-base-patch16-256") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("dleemiller/siglip2-math-base-patch16-256") model = AutoModelForZeroShotImageClassification.from_pretrained("dleemiller/siglip2-math-base-patch16-256", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
bfadaa2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f8a81294b2d7656fd78faa648731093f50738db7a2e554a56c7aff24cc2161bf
size 5777
|