apple / DFN5B-CLIP-ViT-H-14

huggingface.co
Total runs: 63.7K
24-hour runs: -642
7-day runs: -5.0K
30-day runs: -8.4K
Model's Last Updated: March 01 2025

Introduction of DFN5B-CLIP-ViT-H-14

Model Details of DFN5B-CLIP-ViT-H-14

A CLIP (Contrastive Language-Image Pre-training) model trained on DFN-5B. Data Filtering Networks (DFNs) are small networks used to automatically filter large pools of uncurated data. This model was trained on 5B images that were filtered from a pool of 43B uncurated image-text pairs (12.8B image-text pairs from CommonPool-12.8B + 30B additional public image-text pairs).

This model has been converted to PyTorch from the original JAX checkpoints from Axlearn ( https://github.com/apple/axlearn ). These weights are directly usable in OpenCLIP (image + text).

Model Details
Model Metrics
Eval Dataset Metric
ImageNet 1k 0.8344
Caltech-101 0.954935
CIFAR-10 0.9878
CIFAR-100 0.9051
CLEVR Counts 0.2966
CLEVR Distance 0.2124
Country211 0.343981
Describable Textures 0.706383
EuroSAT 0.654815
FGVC Aircraft 0.714055
Food-101 0.956792
GTSRB 0.677514
ImageNet Sketch 0.727308
ImageNet v2 0.773
ImageNet-A 0.6988
ImageNet-O 0.381
ImageNet-R 0.929367
KITTI Vehicle Distance 0.336146
MNIST 0.8579
ObjectNet 0.765156
Oxford Flowers-102 0.899534
Oxford-IIIT Pet 0.965515
Pascal VOC 2007 0.818309
PatchCamelyon 0.653625
Rendered SST2 0.546403
RESISC45 0.750476
Stanford Cars 0.957592
STL-10 0.989
SUN397 0.769149
SVHN 0.676168
Flickr 0.8645
MSCOCO 0.631112
WinoGAViL 0.556329
iWildCam 0.205549
Camelyon17 0.705034
FMoW 0.207482
Dollar Street 0.699766
GeoDE 0.928184
Average 0.698347
Model Usage
With OpenCLIP
import torch
import torch.nn.functional as F
from urllib.request import urlopen
from PIL import Image
from open_clip import create_model_from_pretrained, get_tokenizer 

model, preprocess = create_model_from_pretrained('hf-hub:apple/DFN5B-CLIP-ViT-H-14')
tokenizer = get_tokenizer('ViT-H-14')

image = Image.open(urlopen(
    'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
))
image = preprocess(image).unsqueeze(0)

labels_list = ["a dog", "a cat", "a donut", "a beignet"]
text = tokenizer(labels_list, context_length=model.context_length)

with torch.no_grad(), torch.cuda.amp.autocast():
    image_features = model.encode_image(image)
    text_features = model.encode_text(text)
    image_features = F.normalize(image_features, dim=-1)
    text_features = F.normalize(text_features, dim=-1)

    text_probs = torch.sigmoid(image_features @ text_features.T * model.logit_scale.exp() + model.logit_bias)

zipped_list = list(zip(labels_list, [round(p.item(), 3) for p in text_probs[0]]))
print("Label probabilities: ", zipped_list)
Citation
@article{fang2023data,
  title={Data Filtering Networks},
  author={Fang, Alex and Jose, Albin Madappally and Jain, Amit and Schmidt, Ludwig and Toshev, Alexander and Shankar, Vaishaal},
  journal={arXiv preprint arXiv:2309.17425},
  year={2023}
}

Runs of apple DFN5B-CLIP-ViT-H-14 on huggingface.co

63.7K
Total runs
-642
24-hour runs
-2.9K
3-day runs
-5.0K
7-day runs
-8.4K
30-day runs

More Information About DFN5B-CLIP-ViT-H-14 huggingface.co Model

More DFN5B-CLIP-ViT-H-14 license Visit here:

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

DFN5B-CLIP-ViT-H-14 huggingface.co

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

DFN5B-CLIP-ViT-H-14 huggingface.co Url

https://huggingface.co/apple/DFN5B-CLIP-ViT-H-14

apple DFN5B-CLIP-ViT-H-14 online free

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

apple DFN5B-CLIP-ViT-H-14 online free url in huggingface.co:

https://huggingface.co/apple/DFN5B-CLIP-ViT-H-14

DFN5B-CLIP-ViT-H-14 install

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

DFN5B-CLIP-ViT-H-14 install url in huggingface.co:

https://huggingface.co/apple/DFN5B-CLIP-ViT-H-14

Url of DFN5B-CLIP-ViT-H-14

DFN5B-CLIP-ViT-H-14 huggingface.co Url

Provider of DFN5B-CLIP-ViT-H-14 huggingface.co

apple
ORGANIZATIONS

Other API from apple

huggingface.co

Total runs: 26.8K
Run Growth: -8.5K
Growth Rate: -33.11%
Updated:March 01 2025
huggingface.co

Total runs: 9.9K
Run Growth: 821
Growth Rate: 8.53%
Updated:February 25 2025
huggingface.co

Total runs: 8.3K
Run Growth: -11.6K
Growth Rate: -140.97%
Updated:September 03 2025
huggingface.co

Total runs: 4.4K
Run Growth: 2.5K
Growth Rate: 56.54%
Updated:March 01 2025
huggingface.co

Total runs: 3.8K
Run Growth: -1.8K
Growth Rate: -49.23%
Updated:March 01 2025
huggingface.co

Total runs: 2.4K
Run Growth: -1.4K
Growth Rate: -66.18%
Updated:December 19 2025
huggingface.co

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

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

Total runs: 1.2K
Run Growth: 670
Growth Rate: 60.04%
Updated:March 01 2025
huggingface.co

Total runs: 1.1K
Run Growth: 308
Growth Rate: 29.62%
Updated:September 03 2025
huggingface.co

Total runs: 385
Run Growth: 32
Growth Rate: 8.40%
Updated:March 01 2025
huggingface.co

Total runs: 330
Run Growth: -6.6K
Growth Rate: -2037.15%
Updated:July 26 2024
huggingface.co

Total runs: 231
Run Growth: -133
Growth Rate: -63.33%
Updated:April 25 2026
huggingface.co

Total runs: 196
Run Growth: 2
Growth Rate: 1.06%
Updated:September 03 2025
huggingface.co

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

Total runs: 186
Run Growth: 160
Growth Rate: 86.02%
Updated:March 01 2025
huggingface.co

Total runs: 183
Run Growth: 28
Growth Rate: 15.30%
Updated:October 10 2025
huggingface.co

Total runs: 114
Run Growth: 12
Growth Rate: 10.91%
Updated:March 01 2025
huggingface.co

Total runs: 104
Run Growth: -49
Growth Rate: -50.00%
Updated:June 14 2024
huggingface.co

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

Total runs: 76
Run Growth: 39
Growth Rate: 54.93%
Updated:March 01 2025
huggingface.co

Total runs: 70
Run Growth: 16
Growth Rate: 22.86%
Updated:March 01 2025
huggingface.co

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

Total runs: 51
Run Growth: 34
Growth Rate: 70.83%
Updated:August 06 2024
huggingface.co

Total runs: 47
Run Growth: 14
Growth Rate: 29.17%
Updated:September 03 2025