ONNX Model Zoo

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

File Size Download
text_model.onnx — Download
vision_model.onnx — Download

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

onnxruntime onnx zero-shot-image-classification siglip golang multilingual base_model:google/siglip-base-patch16-256-multilingual base_model:quantized:google/siglip-base-patch16-256-multilingual license:apache-2.0 region:us
↓ 0 ♥ 0

Created: 2026-03-14

Updated: 2026-03-14

View on Hugging Face

Files (11)

.gitattributes
README.md
go_config.json
processor_config.json
spiece.model
text_model.onnx ONNX
text_model.onnx.data
tokenizer_config.json
vision_model.onnx ONNX
vision_model.onnx.data
vocab.json

Related models