Instructions to use timm/vit_giantopt_patch16_siglip_gap_256.v2_webli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_giantopt_patch16_siglip_gap_256.v2_webli with timm:
import timm model = timm.create_model("hf-hub:timm/vit_giantopt_patch16_siglip_gap_256.v2_webli", pretrained=True) - Transformers
How to use timm/vit_giantopt_patch16_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_giantopt_patch16_siglip_gap_256.v2_webli")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/vit_giantopt_patch16_siglip_gap_256.v2_webli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from timm/vit_giantopt_patch16_siglip_gap_256.v2_webli: direct link, hf CLI and curl.
- Browser
- Download file 1.69 kB
-
https://huggingface.co/timm/vit_giantopt_patch16_siglip_gap_256.v2_webli/resolve/main/README.md
- Command line
-
hf download hf://timm/vit_giantopt_patch16_siglip_gap_256.v2_webli/README.md
-
curl -L -o README.md https://huggingface.co/timm/vit_giantopt_patch16_siglip_gap_256.v2_webli/resolve/main/README.md
1.69 kB
metadata
tags:
- timm
- transformers
- image-feature-extraction
- siglip
- siglip2
library_name: timm
license: apache-2.0
datasets:
- webli
Model card for vit_giantopt_patch16_siglip_gap_256.v2_webli
A SigLIP 2 ViT (image encoder only) for timm. Equivalent to image tower from https://huggingface.co/timm/ViT-gopt-16-SigLIP2-256. This gap variant uses global average pooling and has the attention pooling head removed.
Model Details
- Dataset: webli
- Papers:
- SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features: https://arxiv.org/abs/2502.14786
- Sigmoid Loss for Language Image Pre-Training: https://arxiv.org/abs/2303.15343
Citation
@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}
}