SigLIP 2
Collection
OpenCLIP and timm SigLIP 2 models • 49 items • Updated • 27
Run timm/vit_base_patch32_siglip_gap_256.v2_webli on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/timm/vit_base_patch32_siglip_gap_256.v2_webli. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/timm/vit_base_patch32_siglip_gap_256.v2_webli on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use timm/vit_base_patch32_siglip_gap_256.v2_webli with timm:
import timm
model = timm.create_model("hf-hub:timm/vit_base_patch32_siglip_gap_256.v2_webli", pretrained=True)How to use timm/vit_base_patch32_siglip_gap_256.v2_webli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="timm/vit_base_patch32_siglip_gap_256.v2_webli") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModel
processor = AutoImageProcessor.from_pretrained("timm/vit_base_patch32_siglip_gap_256.v2_webli")
model = AutoModel.from_pretrained("timm/vit_base_patch32_siglip_gap_256.v2_webli", device_map="auto")A SigLIP 2 ViT (image encoder only) for timm. Equivalent to image tower from https://huggingface.co/timm/ViT-B-32-SigLIP2-256. This gap variant uses global average pooling and has the attention pooling head removed.
@article{tschannen2025siglip,
title={SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features},
author={Tschannen, Michael and Gritsenko, Alexey and Wang, Xiao and Naeem, Muhammad Ferjad and Alabdulmohsin, Ibrahim and Parthasarathy, Nikhil and Evans, Talfan and Beyer, Lucas and Xia, Ye and Mustafa, Basil and H'enaff, Olivier and Harmsen, Jeremiah and Steiner, Andreas and Zhai, Xiaohua},
year={2025},
journal={arXiv preprint arXiv:2502.14786}
}
@inproceedings{zhai2023sigmoid,
title={Sigmoid loss for language image pre-training},
author={Zhai, Xiaohua and Mustafa, Basil and Kolesnikov, Alexander and Beyer, Lucas},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={11975--11986},
year={2023}
}