apple / MobileCLIP-S2

huggingface.co
Total runs: 89
24-hour runs: -8
7-day runs: -6
30-day runs: -4
Model's Last Updated: March 01 2025

Introduction of MobileCLIP-S2

Model Details of MobileCLIP-S2

MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training

MobileCLIP was introduced in MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training (CVPR 2024), by Pavan Kumar Anasosalu Vasu, Hadi Pouransari, Fartash Faghri, Raviteja Vemulapalli, Oncel Tuzel.

This repository contains the MobileCLIP-S2 checkpoint.

MobileCLIP Performance Figure

Highlights
  • Our smallest variant MobileCLIP-S0 obtains similar zero-shot performance as OpenAI 's ViT-B/16 model while being 4.8x faster and 2.8x smaller.
  • MobileCLIP-S2 obtains better avg zero-shot performance than SigLIP 's ViT-B/16 model while being 2.3x faster and 2.1x smaller, and trained with 3x less seen samples.
  • MobileCLIP-B (LT) attains zero-shot ImageNet performance of 77.2% which is significantly better than recent works like DFN and SigLIP with similar architectures or even OpenAI's ViT-L/14@336 .
Checkpoints
Model # Seen
Samples (B)
# Params (M)
(img + txt)
Latency (ms)
(img + txt)
IN-1k Zero-Shot
Top-1 Acc. (%)
Avg. Perf. (%)
on 38 datasets
MobileCLIP-S0 13 11.4 + 42.4 1.5 + 1.6 67.8 58.1
MobileCLIP-S1 13 21.5 + 63.4 2.5 + 3.3 72.6 61.3
MobileCLIP-S2 13 35.7 + 63.4 3.6 + 3.3 74.4 63.7
MobileCLIP-B 13 86.3 + 63.4 10.4 + 3.3 76.8 65.2
MobileCLIP-B (LT) 36 86.3 + 63.4 10.4 + 3.3 77.2 65.8
How to Use

First, download the desired checkpoint visiting one of the links in the table above, then click the Files and versions tab, and download the PyTorch checkpoint. For programmatic downloading, if you have huggingface_hub installed, you can also run:

huggingface-cli download pcuenq/MobileCLIP-S2

Then, install ml-mobileclip by following the instructions in the repo. It uses an API similar to open_clip 's . You can run inference with a code snippet like the following:

import torch
from PIL import Image
import mobileclip

model, _, preprocess = mobileclip.create_model_and_transforms('mobileclip_s2', pretrained='/path/to/mobileclip_s2.pt')
tokenizer = mobileclip.get_tokenizer('mobileclip_s2')

image = preprocess(Image.open("docs/fig_accuracy_latency.png").convert('RGB')).unsqueeze(0)
text = tokenizer(["a diagram", "a dog", "a cat"])

with torch.no_grad(), torch.cuda.amp.autocast():
    image_features = model.encode_image(image)
    text_features = model.encode_text(text)
    image_features /= image_features.norm(dim=-1, keepdim=True)
    text_features /= text_features.norm(dim=-1, keepdim=True)

    text_probs = (100.0 * image_features @ text_features.T).softmax(dim=-1)

print("Label probs:", text_probs)

Runs of apple MobileCLIP-S2 on huggingface.co

89
Total runs
-8
24-hour runs
-11
3-day runs
-6
7-day runs
-4
30-day runs

More Information About MobileCLIP-S2 huggingface.co Model

More MobileCLIP-S2 license Visit here:

https://choosealicense.com/licenses/apple-amlr

MobileCLIP-S2 huggingface.co

MobileCLIP-S2 huggingface.co is an AI model on huggingface.co that provides MobileCLIP-S2's model effect (), which can be used instantly with this apple MobileCLIP-S2 model. huggingface.co supports a free trial of the MobileCLIP-S2 model, and also provides paid use of the MobileCLIP-S2. Support call MobileCLIP-S2 model through api, including Node.js, Python, http.

MobileCLIP-S2 huggingface.co Url

https://huggingface.co/apple/MobileCLIP-S2

apple MobileCLIP-S2 online free

MobileCLIP-S2 huggingface.co is an online trial and call api platform, which integrates MobileCLIP-S2's modeling effects, including api services, and provides a free online trial of MobileCLIP-S2, you can try MobileCLIP-S2 online for free by clicking the link below.

apple MobileCLIP-S2 online free url in huggingface.co:

https://huggingface.co/apple/MobileCLIP-S2

MobileCLIP-S2 install

MobileCLIP-S2 is an open source model from GitHub that offers a free installation service, and any user can find MobileCLIP-S2 on GitHub to install. At the same time, huggingface.co provides the effect of MobileCLIP-S2 install, users can directly use MobileCLIP-S2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MobileCLIP-S2 install url in huggingface.co:

https://huggingface.co/apple/MobileCLIP-S2

Url of MobileCLIP-S2

MobileCLIP-S2 huggingface.co Url

Provider of MobileCLIP-S2 huggingface.co

apple
ORGANIZATIONS

Other API from apple

huggingface.co

Total runs: 33.9K
Run Growth: 13.8K
Growth Rate: 40.71%
Updated:March 01 2025
huggingface.co

Total runs: 9.6K
Run Growth: 172
Growth Rate: 1.81%
Updated:February 25 2025
huggingface.co

Total runs: 9.0K
Run Growth: -11.5K
Growth Rate: -131.97%
Updated:September 03 2025
huggingface.co

Total runs: 6.9K
Run Growth: 6.5K
Growth Rate: 95.42%
Updated:July 26 2024
huggingface.co

Total runs: 5.8K
Run Growth: -1.0K
Growth Rate: -17.83%
Updated:March 01 2025
huggingface.co

Total runs: 2.7K
Run Growth: -3.4K
Growth Rate: -123.85%
Updated:December 19 2025
huggingface.co

Total runs: 2.2K
Run Growth: 919
Growth Rate: 42.51%
Updated:March 01 2025
huggingface.co

Total runs: 2.0K
Run Growth: -755
Growth Rate: -38.50%
Updated:September 03 2025
huggingface.co

Total runs: 1.8K
Run Growth: 266
Growth Rate: 14.60%
Updated:September 03 2025
huggingface.co

Total runs: 1.2K
Run Growth: -4.1K
Growth Rate: -327.80%
Updated:March 01 2025
huggingface.co

Total runs: 510
Run Growth: 284
Growth Rate: 54.72%
Updated:March 01 2025
huggingface.co

Total runs: 393
Run Growth: 128
Growth Rate: 32.32%
Updated:March 01 2025
huggingface.co

Total runs: 354
Run Growth: 261
Growth Rate: 73.73%
Updated:April 25 2026
huggingface.co

Total runs: 191
Run Growth: 55
Growth Rate: 28.80%
Updated:September 03 2025
huggingface.co

Total runs: 188
Run Growth: 63
Growth Rate: 33.51%
Updated:October 10 2025
huggingface.co

Total runs: 110
Run Growth: -63
Growth Rate: -51.64%
Updated:June 14 2024
huggingface.co

Total runs: 92
Run Growth: -30
Growth Rate: -32.61%
Updated:October 10 2025
huggingface.co

Total runs: 88
Run Growth: 15
Growth Rate: 17.86%
Updated:August 02 2024
huggingface.co

Total runs: 83
Run Growth: -55
Growth Rate: -66.27%
Updated:September 03 2025
huggingface.co

Total runs: 70
Run Growth: 65
Growth Rate: 92.86%
Updated:April 15 2026
huggingface.co

Total runs: 64
Run Growth: -5
Growth Rate: -7.81%
Updated:March 01 2025
huggingface.co

Total runs: 64
Run Growth: -1.7K
Growth Rate: -2628.57%
Updated:March 01 2025
huggingface.co

Total runs: 48
Run Growth: 35
Growth Rate: 71.43%
Updated:September 03 2025
huggingface.co

Total runs: 45
Run Growth: -2
Growth Rate: -4.44%
Updated:October 10 2025
huggingface.co

Total runs: 45
Run Growth: -6
Growth Rate: -13.33%
Updated:April 15 2026
huggingface.co

Total runs: 44
Run Growth: 27
Growth Rate: 61.36%
Updated:March 01 2025