SAVRN
Search Contact SAVRN

Open-weight model · Zero shot image classification

CLIP-ViT-B-32-laion2B-s34B-b79K

by LAION eV laion/CLIP-ViT-B-32-laion2B-s34B-b79K

A CLIP ViT-B/32 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Model training done by Romain Beaumont on the stability.ai cluster.

Parameters151M
Context77
Weights2.4 GB
Licensemit
AccessOpen weights
Monthly Downloads3.8M

Runs On

What it takes to serve CLIP-ViT-B-32-laion2B-s34B-b79K (151M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.3 GB 0.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on CLIP-ViT-B-32-laion2B-s34B-b79K

On disk it is 2.4 GB across 14 files, stored in float32; in 16-bit it needs 0.4 GB, and 8-bit halves that to 0.2 GB. The cheapest setup we list, one MI300X with 192 GB at $1.85 an hour, dwarfs a 151M-parameter zero-shot image classifier, so share the card. The text side reads 77 tokens, which keeps the labels you pair with images short, and the training data was the LAION-2B English subset of LAION-5B.

MIT is a short license: commercial use, modification and redistribution are allowed as long as the copyright and permission notices ride along. Set that against the publisher's framing, which calls the model a research output for research communities; the license allows a production deployment, the stated intent does not describe one. Check the serving stack too: the library is open_clip, not transformers, and the one paper on file is arXiv:1910.04867.

Model Card

By LAION eV, published under mit, revision 1a25a446712b.

Model Card for CLIP ViT-B/32 - LAION-2B

Table of Contents

  1. Model Details
  2. Uses
  3. Training Details
  4. Evaluation
  5. Acknowledgements
  6. Citation
  7. How To Get Started With the Model

Model Details

Model Description

A CLIP ViT-B/32 model trained with the LAION-2B English subset of LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/open_clip).

Model training done by Romain Beaumont on the stability.ai cluster.

Uses

As per the original OpenAI CLIP model card, this model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, arbitrary image classification. We also hope it can be used for interdisciplinary studies of the potential impact of such model.

The OpenAI CLIP paper includes a discussion of potential downstream impacts to provide an example for this sort of analysis. Additionally, the LAION-5B blog (https://laion.ai/blog/laion-5b/) and upcoming paper include additional discussion as it relates specifically to the training dataset.

Direct Use

Zero-shot image classification, image and text retrieval, among others.

Read the full model card (909 words)

Configuration

Architecture
CLIPModel
Context length (tokens)
77
Layers
12
Hidden size
512
Feed-forward size
2,048
Attention heads
8
Vocabulary size
49,408
Stored precision
float32
Model type
clip

Identity and Version

Repository
laion/CLIP-ViT-B-32-laion2B-s34B-b79K
Publisher
LAION eV
Task
Zero shot image classification
Modality
Other
Library
open_clip
Parameters
151M parameters
Languages
Not stated by the source
Revision
1a25a446712ba5ee05982a381eed697ef9b435cf
First published
2022-09-14
Last updated
2025-01-22

Files and Weights

14 files, 2.4 GB in total. The weights are 4 files totalling 2.4 GB in bin, safetensors.

Weights4 files · 2.4 GB
Configuration4 files · 5.7 KB
Tokenizer4 files · 3.6 MB
Documentation1 file · 7.5 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights605.2 MB 74813fbcdc75
open_clip_model.safetensorsWeights605.1 MB ac4f8c4b88af
open_clip_pytorch_model.binWeights605.2 MB 1bd3c7172de5
pytorch_model.binWeights605.2 MB 8693edd165ef
config.jsonConfiguration4.4 KB
open_clip_config.jsonConfiguration604 B
preprocessor_config.jsonConfiguration316 B
special_tokens_map.jsonConfiguration389 B
README.mdDocumentation7.5 KB
.gitattributesRepository1.6 KB
merges.txtTokenizer524.6 KB
tokenizer.jsonTokenizer2.2 MB
tokenizer_config.jsonTokenizer904 B
vocab.jsonTokenizer862.3 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
2.4 GB
Download from LAION eV

Released by LAION eV through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.4 GB
16-bit0.3 GB
8-bit0.2 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare CLIP-ViT-B-32-laion2B-s34B-b79K

Questions About CLIP-ViT-B-32-laion2B-s34B-b79K

How much GPU memory does CLIP-ViT-B-32-laion2B-s34B-b79K need?

About 0.4 GB at 16-bit and 0.1 GB at 4-bit: the weights (151M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run CLIP-ViT-B-32-laion2B-s34B-b79K on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use CLIP-ViT-B-32-laion2B-s34B-b79K commercially?

Yes. CLIP-ViT-B-32-laion2B-s34B-b79K is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is CLIP-ViT-B-32-laion2B-s34B-b79K's context length?

77 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Zero shot image classification

fashion-clip

Patrick John Chia

UPDATE (10/03/23): We have updated the model! We found that laion/CLIP-ViT-B-32-laion2B-s34B-b79K checkpoint (thanks Bin!) worked better than original OpenAI CLIP on Fashion. We thus fine-tune a newer (and better!) version of FashionCLIP (henceforth FashionCLIP 2.0), while keeping the architecture the same. We postulate that the perofrmance gains afforded by laion/CLIP-ViT-B-32-laion2B-s34B-b79K are due to the increased training data (5x OpenAI CLIP data). Our thesis, however, remains the same -- fine-tuning laion/CLIP on our fashion dataset improved zero-shot perofrmance across our benchmarks. See the below table comparing weighted macro F1 score across models. FashionCLIP is a CLIP-based…

Open weights mit 151M parameters 77 tokens transformers

Model · Zero shot image classification

siglip-base-patch16-224

Google

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. Disclaimer: The team releasing SigLIP did not write a model card for this model so this model card has been written by the Hugging Face team. 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. You can use…

Open weights apache-2.0 203M parameters transformers

Model · Zero shot image classification

clip-vit-base-patch32

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The model uses a ViT-B/32 Transformer architecture as an image encoder and uses a masked self-attention…

Open weights 77 tokens transformers

Model · Zero shot image classification

clip-vit-large-patch14-336

OpenAI

This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - trainingprecision: float32 - Transformers 4.21.3 - TensorFlow 2.8.2 - Tokenizers 0.12.1

Open weights 77 tokens transformers

Model · Zero shot image classification

clip-vit-base-patch16

OpenAI

Disclaimer: The model card is taken and modified from the official CLIP repository, it can be found here. The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. January 2021 The base model uses a ViT-B/16 Transformer architecture as an image encoder and uses a masked…

Open weights 77 tokens transformers

Model · Zero shot image classification

CLIP-convnext_base_w-laion2B-s13B-b82K-augreg

LAION eV

A series of CLIP ConvNeXt-Base (w/ wide embed dim) models trained on subsets LAION-5B (https://laion.ai/blog/laion-5b/) using OpenCLIP (https://github.com/mlfoundations/openclip). Explore an alternative to ViT and ResNet (w/ AttentionPooling) CLIP models that scales well with model size and image resolution First known ConvNeXt CLIP models trained at scale in the range of CLIP ViT-B/16 and RN50x4 models First released model weights exploring increase of augmentation + regularization for image tower via adding (greater scale range of RRC, random erasing, stochastic depth) The models utilize the timm ConvNeXt-Base model (convnextbase) as the image tower, and the same text tower as the RN50x4…

Open weights mit open_clip