SigLIP 2 Base Patch16 256 — ONNX FP32
This repository provides image and text encoders for local photo search. Lumseek exported both encoders from Google’s SigLIP 2 Base Patch16 256 checkpoint as separate FP32 ONNX graphs (opset 17). Each graph returns a 768-dimensional, L2-normalized embedding in the same vector space.
Local photo search
Use image_encoder.onnx to compute and store one embedding per photo. The same photo index supports two kinds of search:
- Text-to-image search. Encode a description such as “a red bicycle beside a lake” with
text_encoder.onnxand retrieve the photos whose embeddings are closest to the text embedding. - Image-to-image search. Encode a reference photo with
image_encoder.onnxand retrieve photos with similar visual content.
Rank photos by the dot product of their embeddings with the query embedding. Both encoders run locally with ONNX Runtime.
License
The original Google model and this ONNX export are distributed under the Apache License 2.0. See Google’s model card for training details, evaluation results, and citation.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for SparklingMithril/siglip2-base-patch16-256-onnx-fp32
Base model
google/siglip2-base-patch16-256