Views
No views yet
| 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) |
go get github.com/SabiQG/siglip-go1import siglip "github.com/SabiQG/siglip-go"
2
3c, _ := siglip.New()
4
5// Zero-shot classification
6results, _ := c.Classify("photo.jpg", []string{"a dog", "a cat"})
7
8// Get raw image embedding (768-dim)
9embedding, _ := c.ImageEmbedding("photo.jpg")1python export_siglip.py # ONNX models (opset 18)
2python export_vocab.py # vocabulary