horrible's picture
Upload folder using huggingface_hub
f3a4fe0 verified
|
Raw
History Blame Contribute Delete
891 Bytes
---
license: apache-2.0
library_name: onnxruntime
tags:
- siglip2
- onnx
- zero-shot-image-classification
---
# SigLIP2 ONNX Bundle
Fused zero-shot ONNX export of [`google/siglip2-base-patch16-224`](https://huggingface.co/google/siglip2-base-patch16-224).
## Usage
Inference uses ONNX Runtime on CPU.
**Inputs:** `pixel_values`, `input_ids`
**Output:** `logits_per_image` (plus auxiliary embeds/logits from the fused graph)
Format candidate labels with the bundle prompt template before tokenization:
```text
This is a photo of {label}.
```
## Files
| File | Purpose |
| ---- | ------- |
| `model.onnx` | Fused zero-shot SigLIP2 graph |
| `config.json` | Model config |
| `preprocessor_config.json` | Image preprocessor |
| `tokenizer.json`, `tokenizer_config.json`, `special_tokens_map.json` | Text tokenizer |
| `prompt_template.jinja` | Zero-shot label prompt template |