keras / siglip2_so400m_patch16_384

huggingface.co
Total runs: 11
24-hour runs: 0
7-day runs: -6
30-day runs: 3
Model's Last Updated: June 17 2025

Introduction of siglip2_so400m_patch16_384

Model Details of siglip2_so400m_patch16_384

Model Overview

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

Weights are released under the Apache 2 License . Keras model code is released under the Apache 2 License .

Links
Installation

Keras and KerasHub can be installed with:

pip install -U -q keras-hub
pip install -U -q keras

Jax, TensorFlow, and Torch come preinstalled in Kaggle Notebooks. For instructions on installing them in another environment see the Keras Getting Started page.

Presets

The following model checkpoints are provided by the Keras team. Full code examples for each are available below.

Preset name Parameters Description
Example Usage
import keras
import numpy as np
import matplotlib.pyplot as plt
from keras_hub.models import SigLIPBackbone, SigLIPTokenizer
from keras_hub.layers import SigLIPImageConverter

# instantiate the model and preprocessing tools
siglip = SigLIPBackbone.from_preset("siglip2_so400m_patch16_384")
tokenizer = SigLIPTokenizer.from_preset("siglip2_so400m_patch16_384",
sequence_length=64)
image_converter = SigLIPImageConverter.from_preset("siglip2_so400m_patch16_384")

# obtain tokens for some input text
tokens = tokenizer.tokenize(["mountains", "cat on tortoise", "house"])

# preprocess image and text
image = keras.utils.load_img("cat.jpg")
image = image_converter(np.array([image]).astype(float))

# query the model for similarities
siglip({
     "images": image,
     "token_ids": tokens,
})
Example Usage with Hugging Face URI
import keras
import numpy as np
import matplotlib.pyplot as plt
from keras_hub.models import SigLIPBackbone, SigLIPTokenizer
from keras_hub.layers import SigLIPImageConverter

# instantiate the model and preprocessing tools
siglip = SigLIPBackbone.from_preset("hf://keras/siglip2_so400m_patch16_384")
tokenizer = SigLIPTokenizer.from_preset("hf://keras/siglip2_so400m_patch16_384",
sequence_length=64)
image_converter = SigLIPImageConverter.from_preset("hf://keras/siglip2_so400m_patch16_384")

# obtain tokens for some input text
tokens = tokenizer.tokenize(["mountains", "cat on tortoise", "house"])

# preprocess image and text
image = keras.utils.load_img("cat.jpg")
image = image_converter(np.array([image]).astype(float))

# query the model for similarities
siglip({
     "images": image,
     "token_ids": tokens,
})

Runs of keras siglip2_so400m_patch16_384 on huggingface.co

11
Total runs
0
24-hour runs
-6
3-day runs
-6
7-day runs
3
30-day runs

More Information About siglip2_so400m_patch16_384 huggingface.co Model

siglip2_so400m_patch16_384 huggingface.co

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

siglip2_so400m_patch16_384 huggingface.co Url

https://huggingface.co/keras/siglip2_so400m_patch16_384

keras siglip2_so400m_patch16_384 online free

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

keras siglip2_so400m_patch16_384 online free url in huggingface.co:

https://huggingface.co/keras/siglip2_so400m_patch16_384

siglip2_so400m_patch16_384 install

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

siglip2_so400m_patch16_384 install url in huggingface.co:

https://huggingface.co/keras/siglip2_so400m_patch16_384

Url of siglip2_so400m_patch16_384

siglip2_so400m_patch16_384 huggingface.co Url

Provider of siglip2_so400m_patch16_384 huggingface.co

keras
ORGANIZATIONS

Other API from keras

huggingface.co

Total runs: 22
Run Growth: 19
Growth Rate: 86.36%
Updated:February 27 2026
huggingface.co

Total runs: 19
Run Growth: -127
Growth Rate: -668.42%
Updated:July 17 2026
huggingface.co

Total runs: 13
Run Growth: -28
Growth Rate: -215.38%
Updated:June 17 2025
huggingface.co

Total runs: 13
Run Growth: 6
Growth Rate: 46.15%
Updated:February 27 2026
huggingface.co

Total runs: 13
Run Growth: 10
Growth Rate: 76.92%
Updated:March 25 2025
huggingface.co

Total runs: 13
Run Growth: -23
Growth Rate: -176.92%
Updated:June 17 2025
huggingface.co

Total runs: 12
Run Growth: 2
Growth Rate: 16.67%
Updated:March 25 2025
huggingface.co

Total runs: 11
Run Growth: 8
Growth Rate: 72.73%
Updated:February 27 2026
huggingface.co

Total runs: 11
Run Growth: -130
Growth Rate: -1181.82%
Updated:July 17 2026
huggingface.co

Total runs: 9
Run Growth: 3
Growth Rate: 33.33%
Updated:March 25 2025
huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:March 25 2025
huggingface.co

Total runs: 7
Run Growth: -12
Growth Rate: -171.43%
Updated:May 15 2026
huggingface.co

Total runs: 7
Run Growth: -27
Growth Rate: -385.71%
Updated:June 17 2025
huggingface.co

Total runs: 7
Run Growth: 4
Growth Rate: 57.14%
Updated:February 27 2026
huggingface.co

Total runs: 7
Run Growth: 4
Growth Rate: 57.14%
Updated:February 27 2026