SAVRN
Search Contact SAVRN

Open-weight model · Zero shot image classification

siglip-base-patch16-224

by Google google/siglip-base-patch16-224

SigLIP model pre-trained on WebLi at resolution 224x224. It was introduced in the paper Sigmoid Loss for Language Image Pre-Training by Zhai et al. and first released in this repository.

Parameters203M
Context
Weights1.6 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads2M

Runs On

What it takes to serve siglip-base-patch16-224 (203M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.4 GB 0.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on siglip-base-patch16-224

Look at your images at 224 by 224 first, the resolution of Google's WebLi pretraining. Labels go in as text and images get scored against them; no classifier trained. On disk, 1.6 GB in float32 for 203M parameters; loaded at 16-bit the footprint is 0.4 GB of weights inside 0.5 GB of memory, and the cheapest card the Index lists, one MI300X with 192 GB at $1.85 an hour, charges you for the hour, not the memory.

Google released it on September 30, 2023, but the description was written by someone other than the release team, so read the two papers instead, arXiv:2303.15343 on the sigmoid loss and arXiv:2209.06794 on PaLI. Access is open and Apache 2.0 permits commercial use, modification and redistribution, provided the notices and NOTICE file stay and significant changes are stated; nothing there blocks an in-house deployment.

Model Card

By Google, published under apache-2.0, revision 7fd15f0689c7.

SigLIP (base-sized model)

SigLIP model pre-trained on WebLi at resolution 224x224. It was introduced in the paper Sigmoid Loss for Language Image Pre-Training by Zhai et al. and first released in this repository.

Disclaimer: The team releasing SigLIP did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

SigLIP is CLIP, a multimodal model, with a better loss function. The sigmoid loss operates solely on image-text pairs and does not require a global view of the pairwise similarities for normalization. This allows further scaling up the batch size, while also performing better at smaller batch sizes.

A TLDR of SigLIP by one of the authors can be found here.

Intended uses & limitations

You can use the raw model for tasks like zero-shot image classification and image-text retrieval. See the model hub to look for other versions on a task that interests you.

Read the full model card (429 words)

Configuration

Architecture
SiglipModel
Hidden size
768
Feed-forward size
3,072
Attention heads
12
Vocabulary size
32,000
Stored precision
float32
Model type
siglip

Identity and Version

Repository
google/siglip-base-patch16-224
Publisher
Google
Task
Zero shot image classification
Modality
Other
Library
transformers
Parameters
203M parameters
Languages
Not stated by the source
Revision
7fd15f0689c79d79e38b1c2e2e2370a7bf2761ed
First published
2023-09-30
Last updated
2024-09-26

Files and Weights

10 files, 1.6 GB in total. The weights are 2 files totalling 1.6 GB in bin, safetensors.

Weights2 files · 1.6 GB
Configuration3 files · 1.2 KB
Tokenizer3 files · 3.2 MB
Documentation1 file · 4.1 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights812.7 MB 2c63cb7d1f2e
pytorch_model.binWeights812.8 MB eb93f7f526b0
config.jsonConfiguration432 B
preprocessor_config.jsonConfiguration368 B
special_tokens_map.jsonConfiguration409 B
README.mdDocumentation4.1 KB
.gitattributesRepository1.5 KB
spiece.modelTokenizer798.3 KB 1e5036bed065
tokenizer.jsonTokenizer2.4 MB
tokenizer_config.jsonTokenizer711 B

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
1.6 GB
Download from Google

Released by Google through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published1.6 GB
16-bit0.4 GB
8-bit0.2 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare siglip-base-patch16-224

Questions About siglip-base-patch16-224

How much GPU memory does siglip-base-patch16-224 need?

About 0.5 GB at 16-bit and 0.1 GB at 4-bit: the weights (203M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run siglip-base-patch16-224 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use siglip-base-patch16-224 commercially?

Yes. siglip-base-patch16-224 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Zero shot image classification

CLIP-ViT-B-32-laion2B-s34B-b79K

LAION eV

A CLIP ViT-B/32 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Model training done by Romain Beaumont on the stability.ai cluster. As per the original OpenAI CLIP model card, this model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, arbitrary image classification. We also hope it can be used for interdisciplinary studies of the potential impact of such model. The OpenAI CLIP paper includes a discussion of potential downstream impacts to provide an example for this sort of analysis.…

Open weights mit 151M parameters 77 tokens open_clip

Model · Zero shot image classification

fashion-clip

Patrick John Chia

UPDATE (10/03/23): We have updated the model! We found that laion/CLIP-ViT-B-32-laion2B-s34B-b79K checkpoint (thanks Bin!) worked better than original OpenAI CLIP on Fashion. We thus fine-tune a newer (and better!) version of FashionCLIP (henceforth FashionCLIP 2.0), while keeping the architecture the same. We postulate that the perofrmance gains afforded by laion/CLIP-ViT-B-32-laion2B-s34B-b79K are due to the increased training data (5x OpenAI CLIP data). Our thesis, however, remains the same -- fine-tuning laion/CLIP on our fashion dataset improved zero-shot perofrmance across our benchmarks. See the below table comparing weighted macro F1 score across models. FashionCLIP is a CLIP-based…

Open weights mit 151M parameters 77 tokens transformers

Model · Zero shot image classification

siglip2-base-patch16-224

Google

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. 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: You can encode an image using the Vision Tower like so: For more code examples, we refer to the siglip documentation. SigLIP 2 adds some clever training objectives on top of SigLIP: SigLIP 2 is pre-trained on the WebLI dataset (Chen et al., 2023). The model was trained on up…

Open weights apache-2.0 375M parameters transformers

Model · Zero shot image classification

siglip2-base-patch16-256

Google

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. 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: You can encode an image using the Vision Tower like so: For more code examples, we refer to the siglip documentation. SigLIP 2 adds some clever training objectives on top of SigLIP: SigLIP 2 is pre-trained on the WebLI dataset (Chen et al., 2023). The model was trained on up…

Open weights apache-2.0 375M parameters transformers

Model · Zero shot image classification

siglip2-base-patch16-naflex

Google

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. 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: You can encode an image using the Vision Tower like so: For more code examples, we refer to the siglip2 documentation. SigLIP 2 adds some clever training objectives on top of SigLIP: SigLIP 2 is pre-trained on the WebLI dataset (Chen et al., 2023). The model was trained on up…

Open weights apache-2.0 375M parameters transformers

Model · Zero shot image classification

clip-vit-base-patch32

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The model uses a ViT-B/32 Transformer architecture as an image encoder and uses a masked self-attention…

Open weights 77 tokens transformers