SabiQG/siglip-go-onnx
By SabiQG · ↓ 0 · ♥ 0 · Updated 2026-03-14
What's in this repo
This page lists the files in SabiQG/siglip-go-onnx, including text_model.onnx, vision_model.onnx.
- 2 ONNX models (.onnx files)
- 11 files, including 4 .json, 2 .onnx, 2 .data, 1 .md, 1 .model
- Last updated 2026-03-14
ONNX files
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
SigLIP ONNX (Go)
Pre-exported ONNX models for siglip-go — zero-shot image classification in Go.
Based on 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:
go get github.com/SabiQG/siglip-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:
python export_siglip.py # ONNX models (opset 18)
python export_vocab.py # vocabulary
Model info
Created: 2026-03-14
Updated: 2026-03-14
View on Hugging FaceFiles (11)
Related models
More from SabiQG
No other models by this author.