google / siglip2-base-patch16-naflex

huggingface.co
Total runs: 426.6K
24-hour runs: 0
7-day runs: -70.1K
30-day runs: -351.8K
Model's Last Updated: February 21 2025
zero-shot-image-classification

Introduction of siglip2-base-patch16-naflex

Model Details of siglip2-base-patch16-naflex

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).

Evaluation Table

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}, 
}

Runs of google siglip2-base-patch16-naflex on huggingface.co

426.6K
Total runs
0
24-hour runs
1.9K
3-day runs
-70.1K
7-day runs
-351.8K
30-day runs

More Information About siglip2-base-patch16-naflex huggingface.co Model

More siglip2-base-patch16-naflex license Visit here:

https://choosealicense.com/licenses/apache-2.0

siglip2-base-patch16-naflex huggingface.co

siglip2-base-patch16-naflex huggingface.co is an AI model on huggingface.co that provides siglip2-base-patch16-naflex's model effect (), which can be used instantly with this google siglip2-base-patch16-naflex model. huggingface.co supports a free trial of the siglip2-base-patch16-naflex model, and also provides paid use of the siglip2-base-patch16-naflex. Support call siglip2-base-patch16-naflex model through api, including Node.js, Python, http.

siglip2-base-patch16-naflex huggingface.co Url

https://huggingface.co/google/siglip2-base-patch16-naflex

google siglip2-base-patch16-naflex online free

siglip2-base-patch16-naflex huggingface.co is an online trial and call api platform, which integrates siglip2-base-patch16-naflex's modeling effects, including api services, and provides a free online trial of siglip2-base-patch16-naflex, you can try siglip2-base-patch16-naflex online for free by clicking the link below.

google siglip2-base-patch16-naflex online free url in huggingface.co:

https://huggingface.co/google/siglip2-base-patch16-naflex

siglip2-base-patch16-naflex install

siglip2-base-patch16-naflex is an open source model from GitHub that offers a free installation service, and any user can find siglip2-base-patch16-naflex on GitHub to install. At the same time, huggingface.co provides the effect of siglip2-base-patch16-naflex install, users can directly use siglip2-base-patch16-naflex installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

siglip2-base-patch16-naflex install url in huggingface.co:

https://huggingface.co/google/siglip2-base-patch16-naflex

Url of siglip2-base-patch16-naflex

siglip2-base-patch16-naflex huggingface.co Url

Provider of siglip2-base-patch16-naflex huggingface.co

google
ORGANIZATIONS

Other API from google

huggingface.co

Total runs: 2.6M
Run Growth: 112.2K
Growth Rate: 4.37%
Updated:March 22 2025
huggingface.co

Total runs: 2.0M
Run Growth: 222.2K
Growth Rate: 10.99%
Updated:March 22 2025
huggingface.co

Total runs: 1.6M
Run Growth: 456.2K
Growth Rate: 28.67%
Updated:July 17 2023
huggingface.co

Total runs: 590.5K
Run Growth: -32.7K
Growth Rate: -5.54%
Updated:February 29 2024
huggingface.co

Total runs: 587.4K
Run Growth: 7.2K
Growth Rate: 1.22%
Updated:October 11 2023
huggingface.co

Total runs: 542.4K
Run Growth: -1.5M
Growth Rate: -277.98%
Updated:April 04 2025
huggingface.co

Total runs: 491.5K
Run Growth: 95.5K
Growth Rate: 19.44%
Updated:July 17 2023
huggingface.co

Total runs: 484.4K
Run Growth: -633.5K
Growth Rate: -130.77%
Updated:March 22 2025
huggingface.co

Total runs: 443.5K
Run Growth: 54.4K
Growth Rate: 13.02%
Updated:November 27 2023
huggingface.co

Total runs: 406.2K
Run Growth: -50.0K
Growth Rate: -12.30%
Updated:August 08 2024
huggingface.co

Total runs: 404.4K
Run Growth: 129.8K
Growth Rate: 32.09%
Updated:August 28 2024
huggingface.co

Total runs: 396.6K
Run Growth: 395.0K
Growth Rate: 99.59%
Updated:April 03 2026
huggingface.co

Total runs: 367.6K
Run Growth: -199.4K
Growth Rate: -54.01%
Updated:January 25 2023
huggingface.co

Total runs: 349.4K
Run Growth: -50.4K
Growth Rate: -14.43%
Updated:August 28 2024
huggingface.co

Total runs: 284.6K
Run Growth: -6.2K
Growth Rate: -2.15%
Updated:January 25 2023
huggingface.co

Total runs: 280.5K
Run Growth: 279.3K
Growth Rate: 99.57%
Updated:April 03 2026
huggingface.co

Total runs: 271.6K
Run Growth: -71.8K
Growth Rate: -25.40%
Updated:January 25 2023
huggingface.co

Total runs: 240.6K
Run Growth: 70.6K
Growth Rate: 29.81%
Updated:October 29 2025
huggingface.co

Total runs: 203.0K
Run Growth: -2.7K
Growth Rate: -1.30%
Updated:September 18 2023
huggingface.co

Total runs: 198.7K
Run Growth: 188.9K
Growth Rate: 95.09%
Updated:April 03 2026
huggingface.co

Total runs: 197.0K
Run Growth: -21.3K
Growth Rate: -10.24%
Updated:January 25 2023
huggingface.co

Total runs: 165.0K
Run Growth: -29.3K
Growth Rate: -19.97%
Updated:September 27 2024
huggingface.co

Total runs: 137.5K
Run Growth: 104.0K
Growth Rate: 75.79%
Updated:June 27 2024
huggingface.co

Total runs: 132.7K
Run Growth: 8.5K
Growth Rate: 6.40%
Updated:March 22 2025
huggingface.co

Total runs: 119.9K
Run Growth: 58.3K
Growth Rate: 48.81%
Updated:January 25 2023
huggingface.co

Total runs: 105.2K
Run Growth: 46.5K
Growth Rate: 45.84%
Updated:January 25 2023
huggingface.co

Total runs: 99.9K
Run Growth: 10.7K
Growth Rate: 10.73%
Updated:August 14 2025
huggingface.co

Total runs: 95.2K
Run Growth: -31.2K
Growth Rate: -31.83%
Updated:May 27 2022
huggingface.co

Total runs: 90.5K
Run Growth: 29.6K
Growth Rate: 32.67%
Updated:July 03 2023
huggingface.co

Total runs: 87.4K
Run Growth: 18.5K
Growth Rate: 21.15%
Updated:March 22 2025
huggingface.co

Total runs: 77.6K
Run Growth: -62.8K
Growth Rate: -80.92%
Updated:November 28 2023
huggingface.co

Total runs: 68.8K
Run Growth: 13.5K
Growth Rate: 19.64%
Updated:August 08 2024
huggingface.co

Total runs: 68.8K
Run Growth: 14.4K
Growth Rate: 21.00%
Updated:September 27 2024
huggingface.co

Total runs: 66.9K
Run Growth: -19.6K
Growth Rate: -29.35%
Updated:January 25 2023
huggingface.co

Total runs: 50.0K
Run Growth: -24.8K
Growth Rate: -49.60%
Updated:December 19 2025
huggingface.co

Total runs: 48.7K
Run Growth: 16.7K
Growth Rate: 39.47%
Updated:January 25 2023
huggingface.co

Total runs: 43.2K
Run Growth: -17.9K
Growth Rate: -41.43%
Updated:August 14 2024
huggingface.co

Total runs: 43.1K
Run Growth: -314.4K
Growth Rate: -729.74%
Updated:August 28 2024
huggingface.co

Total runs: 40.1K
Run Growth: 16.3K
Growth Rate: 40.66%
Updated:July 10 2025
huggingface.co

Total runs: 28.7K
Run Growth: 24.5K
Growth Rate: 86.75%
Updated:July 03 2023