CLIP-ViT-B-32-DataComp.XL-s13B-b90K

What is this model? This is a CLIP‑ViT‑B‑32 model that has been trained on the DataComp‑1B dataset (≈1.4 billion image‑text pairs). It follows the OpenAI CLIP paradigm: a vision encoder (Vision Transformer‑B/32) and a text encoder (Transformer‑based) are jointly trained to map images and their captions into a shared latent space where cosine similarity can be used for zero‑shot classification, retrieval, and multimodal reasoning.

laion 832K downloads mit Zero-Shot Image
Frameworkssafetensors
Datasetsmlfoundations/datacomp_pools
Tagsopen_clipzero-shot-image-classification
Downloads
832K
License
mit
Pipeline
Zero-Shot Image
Author
laion

Run CLIP-ViT-B-32-DataComp.XL-s13B-b90K locally on a Q4KM hard drive

Accelerate your research with Q4KM hard drives pre‑loaded with CLIP‑ViT‑B‑32‑DataComp.XL‑s13B‑b90K . Get instant access, zero‑copy loading, and optimized I/O for large‑scale retrieval pipelines. Shop...

Shop Q4KM Drives

Technical Overview

What is this model? This is a CLIP‑ViT‑B‑32 model that has been trained on the DataComp‑1B dataset (≈1.4 billion image‑text pairs). It follows the OpenAI CLIP paradigm: a vision encoder (Vision Transformer‑B/32) and a text encoder (Transformer‑based) are jointly trained to map images and their captions into a shared latent space where cosine similarity can be used for zero‑shot classification, retrieval, and multimodal reasoning.

Key features & capabilities

  • Zero‑shot image classification across arbitrary label sets.
  • Image‑to‑text and text‑to‑image retrieval using a single similarity score.
  • Supports linear probing and fine‑tuning for downstream vision tasks.
  • Open‑source implementation via the OpenCLIP library.
  • Trained on a publicly released, large‑scale, uncurated dataset (DataComp‑1B) that encourages reproducible research.

Architecture highlights

  • Vision encoder: Vision Transformer (ViT‑B/32) – 12 transformer blocks, 768 hidden dimension, 32 × 32 patch size.
  • Text encoder: Transformer with 12 layers, 512‑dimensional token embeddings, 77‑token context length.
  • Joint embedding dimension: 512, enabling fast cosine‑similarity search.
  • Parameter count: ≈ 150 M (≈ 123 M for vision, ≈ 27 M for text).

Intended use cases

  • Research‑grade zero‑shot classification and multimodal retrieval.
  • Benchmarking of vision‑language models on public datasets.
  • Guiding image generation pipelines (e.g., diffusion models) via similarity scoring.
  • Exploratory studies of dataset bias, safety, and robustness in large‑scale CLIP‑style models.

Benchmark Performance

The model was evaluated on a suite of 38 public datasets using the DataComp evaluation framework and the LAION CLIP Benchmark. Typical metrics reported are top‑1 accuracy for zero‑shot classification and recall@k for image‑text retrieval.

  • Zero‑shot classification: consistently outperforms the original OpenAI CLIP ViT‑B/32 on ImageNet‑R, CIFAR‑100, and several fine‑grained datasets, narrowing the gap to larger CLIP variants (ViT‑L/14).
  • Retrieval: achieves recall@1 ≈ 45 % on Flickr30K and recall@5 ≈ 78 % on MS‑COCO, matching or slightly exceeding the performance of similarly sized CLIP models trained on LAION‑400M.
  • Robustness: shows improved performance on out‑of‑distribution benchmarks (e.g., ImageNet‑A, ImageNet‑R) thanks to the massive, diverse training corpus.

These benchmarks matter because they directly measure a model’s ability to generalize to unseen class vocabularies—a core promise of CLIP‑style training. Compared to the baseline CLIP‑ViT‑B/32, the DataComp‑trained version delivers a 5‑10 % boost in zero‑shot accuracy while retaining the same inference speed and memory footprint.

Hardware Requirements

  • VRAM for inference: 8 GB is sufficient for a single image‑text pair (batch size = 1). Larger batches (e.g., 64‑image batches for retrieval) benefit from 12‑16 GB.
  • Recommended GPU: NVIDIA RTX 3080/3090, AMD Radeon RX 6900 XT, or any GPU with ≥ 8 GB of VRAM supporting FP16/FP32.
  • CPU: Modern multi‑core CPU (e.g., 8‑core + 16 GB RAM) for preprocessing; the model is GPU‑bound during embedding.
  • Storage: Model checkpoint in .safetensors format is ~1.2 GB; additional space required for the DataComp‑1B dataset (≈ 1 TB) if you plan to fine‑tune.
  • Performance characteristics: Typical latency ≈ 30 ms per image on an RTX 3080 (FP16) and ≈ 150 ms for a batch of 64 images for retrieval tasks.

Use Cases

  • Zero‑shot image classification: Quickly evaluate new label sets without retraining (e.g., wildlife species identification).
  • Image‑text retrieval: Power search engines that match user‑provided captions to relevant images.
  • Guided image generation: Use similarity scores to steer diffusion models toward desired concepts.
  • Benchmarking & research: Compare new multimodal architectures against a well‑documented baseline.
  • Linear probing: Fine‑tune a simple linear classifier on top of frozen embeddings for domain‑specific tasks.

Industries that can benefit include media & entertainment (content tagging), e‑commerce (product search), healthcare (medical image triage with proper safety checks), and academic research (studying multimodal representation learning).

Training Details

Methodology: The model was trained with the OpenCLIP codebase, employing a contrastive loss that aligns image and text embeddings. Training used mixed‑precision (FP16) on the stability.ai GPU cluster.

  • Dataset: 1.4 billion image‑text pairs from the DataComp‑1B corpus, uncurated and publicly scraped.
  • Compute: Roughly 10 k GPU‑hours on NVIDIA A100 GPUs (≈ 40 TFLOPs each) – comparable to other large‑scale CLIP trainings.
  • Training schedule: 32 epochs with a cosine learning‑rate decay, batch size 65 536 (distributed across 128 GPUs).
  • Fine‑tuning: The model can be fine‑tuned on downstream tasks by unfreezing either the vision or text encoder, or by adding a linear probe on the shared embedding space.

Licensing Information

The repository lists the model’s license as MIT in the README, while the Hugging Face card shows “unknown”. Under the MIT license you may:

  • Copy, distribute, and modify the model weights and code.
  • Use the model for research, education, and non‑commercial projects without restriction.

Commercial use is technically permitted by the MIT license, but the model card explicitly states that any deployed use case (commercial or not) is out‑of‑scope until thorough safety testing is performed. Users must therefore conduct domain‑specific risk assessments and comply with the “out‑of‑scope” guidance, especially for surveillance, facial‑recognition, or large‑scale public services.

Attribution is required: cite the model card and the DataComp paper (see the “Citation” section below). No additional royalties or fees are imposed.

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