Pre-exported ONNX models for siglip-go — zero-shot image classification in Go.
Fuente del modelo
Fuentes
1 fuenteVerificado 28 sept
Artefactos del modelo
2 artefactosExtractos de fuentes
2 extractos--- library_name: onnxruntime tags: - zero-shot-image-classification - siglip - onnx - golang language: - multilingual license: apache-2.0 base_model: google/siglip-base-patch16-256-multilingual --- # SigLIP ONNX (Go) Pre-exported ONNX models for [siglip-go](https://github.com/SabiQG/siglip-go) — zero-shot image classification in Go. Based on [google/siglip-base-patch16-256-multilingual](https://huggingface.co/google/siglip-base-patch16-256-multilingual). ## Files | File | Size | Description | |------|------|-------------| | vision_model.onnx + .data | ~356MB | Image encoder | | text_model.onnx + .data | ~1.0GB | Text encoder | | vocab.json | ~18MB | SentencePiece vocabulary (250K tokens) | ## Usage These models are auto-downloaded by the Go package: ```bash go get github.com/SabiQG/siglip-go ``` ```go import siglip "github.com/SabiQG/siglip-go" c, _ := siglip.New() // Zero-shot classification results, _ := c.Classify("photo.jpg", []string{"a dog", "a cat"}) // Get raw image embedding (768-dim) embedding, _ := c.ImageEmbedding("photo.jpg") ``` ## Export Generated with: ```bash python export_siglip.py # ONNX models (opset 18) python export_vocab.py # vocabulary ```
Source context: 0 downloads · 0 likes · Pipeline zero-shot-image-classification · Library onnxruntime · Repo SabiQG/siglip-go-onnx