AI SeedbankHelp preserve open and free AI for humanity's future

← All models

google_siglip2-so400m-patch16-naflex

google · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 tags:


SigLIP 2 So400m

SigLIP 2 extends the pretraining objective of SigLIP with prior, independently developed techniques into a unified recipe, for improved semantic understanding, localization, and dense features.

Intended uses

You can use the raw model for tasks like zero-shot image classification and image-text retrieval, or as a vision encoder for VLMs (and other vision tasks).

Here is how to use this model to perform zero-shot image classification:

from transformers import pipeline

# load pipeline
ckpt = "google/siglip2-so400m-patch16-naflex"
image_classifier = pipeline(model=ckpt, task="zero-shot-image-classification")

# load image and candidate labels
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
candidate_labels = ["2 cats", "a plane", "a remote"]

# run inference
outputs = image_classifier(image, candidate_labels)
print(outputs)

You can encode an image using the Vision Tower like so:

import torch
from transformers import AutoModel, AutoProcessor
from transformers.image_utils import load_image

# load the model and processor
ckpt = "google/siglip2-so400m-patch16-naflex"
model = AutoModel.from_pretrained(ckpt, device_map="auto").eval()
processor = AutoProcessor.from_pretrained(ckpt)

# load the image
image = load_image("https://huggingface.co/datasets/merve/coco/resolve/main/val2017/000000000285.jpg")
inputs = processor(images=[image], return_tensors="pt").to(model.device)

# run infernece
with torch.no_grad():
    image_embeddings = model.get_image_features(**inputs)    

print(image_embeddings.shape)

For more code examples, we refer to the siglip2 documentation.

Training procedure

SigLIP 2 adds some clever training objectives on top of SigLIP:

  1. Decoder loss
  2. Global-local and masked prediction loss
  3. Aspect ratio and resolution adaptibility

Training data

SigLIP 2 is pre-trained on the WebLI dataset (Chen et al., 2023).

Compute

The model was trained on up to 2048 TPU-v5e chips.

Evaluation results

Evaluation of SigLIP 2 is shown below (taken from the paper).

BibTeX entry and citation info

@misc{tschannen2025siglip2multilingualvisionlanguage,
      title={SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features}, 
      author={Michael Tschannen and Alexey Gritsenko and Xiao Wang and Muhammad Ferjad Naeem and Ibrahim Alabdulmohsin and Nikhil Parthasarathy and Talfan Evans and Lucas Beyer and Ye Xia and Basil Mustafa and Olivier Hénaff and Jeremiah Harmsen and Andreas Steiner and Xiaohua Zhai},
      year={2025},
      eprint={2502.14786},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2502.14786}, 
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:5457f78fa6e75d4351d5a52e1d7f538fc8c9d717&dn=google_siglip2-so400m-patch16-naflex

Open magnet in torrent client · infohash 5457f78fa6e75d4351d5a52e1d7f538fc8c9d717

Files & hashes

PathSizesha1sha256
README.md3.3 KB (3,389 B)c6da9c3373e752526c4c8808ede085f30c205f211104c24a1af2a8a496146c67581523661277883c8d02f022e216302d61bda49b
config.json590 B (590 B)70b4ae5f068c1f5b9d6809f700f9ec042278ef13c633ddede50ec15d5818e04325bc4a5ac47c2762194a02486baee7d2a3a3dbc5
model.safetensors4.23 GB (4,542,792,928 B)3f2a0acfb1be4fa957f79b6d261edd77c35bf2e511a61a2068800d5f4f35cb041c1fea25de86ce87725e4c97a9ed046d0b22c076
preprocessor_config.json393 B (393 B)0b394ef874fa00123ca80d5456646592a052e50e1125703e5446d5b6ff4d5893a33bac128cdd21dc12e3dad2469a648fb0ae3bf7
special_tokens_map.json636 B (636 B)8d6368f7e735fbe4781bf6e956b7c6ad0586df80baec30ea10906f16adb8c18af7a34023002c1746542612b8b41c9f09e1351351
tokenizer.json32.8 MB (34,356,304 B)cc7ffcc4852259e59bb92dd2649bcedc57d95fa858a1696e79c9d97937389ed116f552a15c84811d7b8023918b86f4bc5775b1b0
tokenizer.model4.0 MB (4,241,003 B)bbd7e417640374364c78eb9686d9bdc2fec4da9361a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
tokenizer_config.json39.2 KB (40,160 B)3555266818f1cba8595ca97e26cd117ef1714bfbd2343400f0f86133053325951b696df8fd0f53a007cf6a546e6c2b4361344f47

Cite this release

Canonical URL
https://aiseedbank.org/models/google_siglip2-so400m-patch16-naflex/
Slug
google_siglip2-so400m-patch16-naflex
Infohash
5457f78fa6e75d4351d5a52e1d7f538fc8c9d717
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: google_siglip2-so400m-patch16-naflex.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorygoogle/siglip2-so400m-patch16-naflex
Revision (pinned)cc24074f717b612951c2dead130904ab9b65a81e
Fetched at2026-09-04T00:30:51Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T00:31:37Z

apache-2.04.27 GB (4,581,435,403 bytes)transformerssafetensorssiglip2zero-shot-image-classificationvisionendpoints_compatiblepaper: 2502.14786paper: 2303.15343paper: 2209.06794