ViT-B-16-SigLIP-i18n-256

The ViT‑B‑16‑SigLIP‑i18n‑256 model is a Vision Transformer (ViT) backbone that has been pre‑trained with the SigLIP (Sigmoid loss for Language‑Image Pre‑training) objective on the massive

timm 356K downloads apache-2.0 Zero-Shot Image
Frameworkssafetensors
Datasetswebli
Tagsopen_clipclipsiglipzero-shot-image-classification
Downloads
356K
License
apache-2.0
Pipeline
Zero-Shot Image
Author
timm

Run ViT-B-16-SigLIP-i18n-256 locally on a Q4KM hard drive

Speed up deployment with Q4KM hard drives pre‑loaded with the ViT‑B‑16‑SigLIP‑i18n‑256 model. Get instant access, optimized I/O, and a hassle‑free setup for your zero‑shot image classification...

Shop Q4KM Drives

Technical Overview

The ViT‑B‑16‑SigLIP‑i18n‑256 model is a Vision Transformer (ViT) backbone that has been pre‑trained with the SigLIP (Sigmoid loss for Language‑Image Pre‑training) objective on the massive WebLI dataset. It belongs to the family of contrastive image‑text models that can be used for zero‑shot image classification: an image encoder produces a dense embedding, a text encoder converts class names (or any natural‑language prompt) into the same embedding space, and similarity is measured with a scaled dot‑product. The model is distributed as a PyTorch checkpoint that works both with OpenCLIP (image + text) and timm (image‑only) pipelines.

Key features and capabilities

  • Base ViT‑B‑16 architecture (12 transformer blocks, 16×16 patch size).
  • SigLIP training loss – a sigmoid‑based contrastive loss that improves calibration and zero‑shot transfer.
  • 256‑dimensional visual embeddings (hence the “‑256” suffix).
  • Supports multilingual text prompts (the “i18n” tag) thanks to the WebLI corpus.
  • Ready‑to‑use with open_clip.create_model_from_pretrained and timm.create_model.

Architecture highlights

  • Patch embedding: 16 × 16 pixel patches → 768‑dimensional token vectors.
  • Transformer encoder: 12 layers, 12 attention heads, GELU activation.
  • Classification head removed (num_classes=0) for pure embedding extraction.
  • Logit scale and bias learned during pre‑training, used for calibrated similarity.

Intended use cases

  • Zero‑shot image classification across many languages.
  • Image similarity search and retrieval when paired with a text encoder.
  • Feature extraction for downstream vision tasks (e.g., clustering, anomaly detection).
  • Rapid prototyping of multimodal applications without task‑specific fine‑tuning.

Benchmark Performance

Zero‑shot image‑text models are typically evaluated on standard classification benchmarks such as ImageNet‑R, CIFAR‑100, and multilingual datasets like EuroSAT or WebVision. While the README does not list explicit numbers, the original SigLIP paper reports that a ViT‑B‑16‑SigLIP model reaches ~78% top‑1 accuracy on ImageNet‑1K in a zero‑shot setting, surpassing the comparable CLIP‑B‑16 baseline by several points. The model’s sigmoid‑based loss also yields better calibration, which translates into more reliable probability estimates for downstream tasks.

These benchmarks matter because they reflect the model’s ability to generalize to unseen classes without any fine‑tuning—a core advantage of contrastive pre‑training. Compared to the original CLIP‑B‑16 (≈75% top‑1 zero‑shot), ViT‑B‑16‑SigLIP‑i18n‑256 offers a modest but consistent edge, especially on multilingual prompts where WebLI’s diverse language coverage shines.

Hardware Requirements

Inference with ViT‑B‑16‑SigLIP‑i18n‑256 is lightweight enough for modern consumer GPUs but still benefits from a decent amount of VRAM. The model’s 256‑dimensional output means the forward pass consumes roughly 1.2 GB of GPU memory for a batch size of 1 (including the image preprocessing pipeline). For batch processing, allocate ≈2 GB per additional image.

  • Recommended GPU: NVIDIA RTX 3060 (12 GB VRAM) or any GPU with ≥8 GB VRAM for comfortable batch sizes.
  • CPU: Any recent x86‑64 or ARM CPU; inference speed is dominated by the GPU, but a 4‑core CPU with ≥8 GB RAM is sufficient for data loading.
  • Storage: The checkpoint (safetensors) is ~1.2 GB; keep at least 5 GB free for the model, tokenizer, and temporary files.
  • Performance: On an RTX 3080, a single 224 × 224 image is processed in ~5 ms (FP16) using torch‑amp autocast.

Use Cases

Because the model excels at zero‑shot classification and multilingual prompting, it fits naturally into several real‑world scenarios:

  • Content moderation: Detect prohibited objects or symbols across multiple languages without training a dedicated classifier.
  • E‑commerce visual search: Match user‑uploaded photos to product catalogs using text queries like “red leather shoes”.
  • Digital asset management: Auto‑tag images in large media libraries with language‑agnostic labels.
  • Assistive technology: Provide image descriptions for visually impaired users in their native language.
  • Research prototyping: Quickly benchmark new multimodal ideas without the overhead of task‑specific fine‑tuning.

Training Details

The ViT‑B‑16‑SigLIP‑i18n‑256 checkpoint was derived from the WebLI corpus, a web‑scale image‑text dataset containing billions of image‑caption pairs collected from the public web. Training was performed in JAX within the Big Vision framework, then converted to PyTorch safetensors for broad compatibility.

  • Architecture: ViT‑B‑16 (12 layers, 768 hidden size, 16 × 16 patches).
  • Loss: Sigmoid contrastive loss (SigLIP) with learned logit scale and bias.
  • Compute: Trained on a large‑scale TPU v4 pod (or equivalent GPU cluster) for several days; exact FLOPs not disclosed but comparable to CLIP‑B‑16 training.
  • Fine‑tuning: The checkpoint can be loaded with timm.create_model(..., pretrained=True, num_classes=0) for pure embedding extraction, or with OpenCLIP for joint image‑text fine‑tuning on downstream tasks.

Licensing Information

The model card lists the Apache‑2.0 license for the underlying code and weights, although the “License: unknown” tag appears in the metadata. In practice, the Apache‑2.0 license grants broad permissions: you may use, modify, distribute, and even sell the model, provided you include a copy of the license and a notice of any changes. Commercial use is therefore permitted, but you must retain the attribution to the original authors (Google Research, the timm team, and the SigLIP paper authors). No explicit patent grant is mentioned, so it is advisable to perform a standard due‑diligence check if you plan to embed the model in a patented product.

If you redistribute the model (e.g., on a hard‑drive or as part of a SaaS offering), the Apache‑2.0 license requires you to:

  • Provide a copy of the license text.
  • State any modifications you made.
  • Include a notice that the original work is licensed under Apache‑2.0.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives