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

← All models

google_siglip2-base-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 Base

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-base-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-base-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:dad3f42dcb85d907225c3b559edc2a3aa9f85d1e&dn=google_siglip2-base-patch16-naflex

Open magnet in torrent client · infohash dad3f42dcb85d907225c3b559edc2a3aa9f85d1e

Files & hashes

PathSizesha1sha256
README.md3.3 KB (3,383 B)7650d14e0c765d962e71778fdead51bad552535fd4353009ea90b7de43575c4ba7e547e195e3239a62f7746afb16ae4ca7fa390a
config.json329 B (329 B)a0b06c765448680b5571e48b4f2334719b9880efc0b8c2e7f0527b0bea1b1d9abe0381c0f294352df92439c54590b8420e539118
model.safetensors1.40 GB (1,500,985,224 B)872e7bdb831263cbd4a1d944da1bd461998deac3ac5f28bbdf92c0c1696ccbd3ce716426049cd67ad8045b66d0d938b0f9c8bbec
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-base-patch16-naflex/
Slug
google_siglip2-base-patch16-naflex
Infohash
dad3f42dcb85d907225c3b559edc2a3aa9f85d1e
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

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

Provenance

Upstream repositorygoogle/siglip2-base-patch16-naflex
Revision (pinned)b53b807d3a2d5e2b3911292f2d69e5341cdc064c
Fetched at2026-09-04T00:26:38Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T00:26:58Z

apache-2.01.43 GB (1,539,627,432 bytes)transformerssafetensorssiglip2zero-shot-image-classificationvisionendpoints_compatiblepaper: 2502.14786paper: 2303.15343paper: 2209.06794