Downloads · 30 days
39
3% of all-time downloads
DatologyAI/cls-opt-vit-b-32
cls-opt-vit-b-32 is a zero-shot image classification model from DatologyAI. Use it for the zero-shot image classification task on the model card, and read the license before you ship it in a product. It is set up for open_clip. The card lists the license as apache-2.0.
DatologyAI CLIP is a state-of-the-art contrastive vision-language model that achieves superior performance through advanced data curation alone, without any architectural or training modifications. This classification…
Downloads · 30 days
39
3% of all-time downloads
All-time downloads
1.2K
Public
Repo size
1.2 GB
Likes
9
Public
Click a slice to open those files.
.bin605 MB · 50%
From the Hugging Face model README
DatologyAI CLIP is a state-of-the-art contrastive vision-language model that achieves superior performance through advanced data curation alone, without any architectural or training modifications. This classification-optimized ViT-B/32 model outperforms SigLIP2, MetaCLIP, and DFN on zero-shot classification benchmarks.
DatologyAI's CLIP model demonstrates that careful data curation can drive state-of-the-art performance without modifications to model architecture or training paradigms. Key achievements include:
You can use this model for zero-shot image classification or as a vision encoder for VLMs and other vision tasks.
import torch
from PIL import Image
import open_clip
# Load model and preprocessing
model, _, preprocess = open_clip.create_model_and_transforms('hf-hub:DatologyAI/cls-opt-vit-b-32')
tokenizer = open_clip.get_tokenizer('hf-hub:DatologyAI/cls-opt-vit-b-32')
# Load image
image = preprocess(Image.open("path/to/image.jpg")).unsqueeze(0)
# Define candidate labels
labels = ["a dog", "a cat", "a bird"]
text = tokenizer(labels)
# Run inference
with torch.no_grad():
image_features = model.encode_image(image)
text_features = model.encode_text(text)
# Normalize features
image_features /= image_features.norm(dim=-1, keepdim=True)
text_features /= text_features.norm(dim=-1, keepdim=True)
# Calculate similarity
similarity = (100.0 * image_features @ text_features.T).softmax(dim=-1)
# Get predictions
values, indices = similarity[0].topk(3)
for value, index in zip(values, indices):
print(f"{labels[index]}: {value.item():.2%}")
import torch
from PIL import Image
import open_clip
# Load model
model, _, preprocess = open_clip.create_model_and_transforms('hf-hub:DatologyAI/cls-opt-vit-b-32')
model.eval()
# Process image
image = preprocess(Image.open("path/to/image.jpg")).unsqueeze(0)
# Extract features
with torch.no_grad():
image_features = model.encode_image(image)
print(f"Feature shape: {image_features.shape}") # [1, 512]
DatologyAI's training pipeline focuses on sophisticated data curation techniques including:
The model uses standard CLIP training objectives with no architectural modifications.
The model was trained on 13B image-text (multi-epoch) curated from the DataComp-XL dataset using DatologyAI's proprietary curation pipeline. The curation process selected high-quality, classification-relevant subsets from the 10B available pairs in DataComp-XL.
| Benchmark | DatologyAI | SigLIP2 | MetaCLIP |
|---|---|---|---|
| ImageNet1k | 76.91% | 74.0% | 67.7% |
| ImageNetv2 | 70.2% | 67.1% | 60.4% |
Full details see blog post.
If you use this model, please cite:
@article{datologyai2025clip,
title={CLIP Gets a Data Upgrade: Outperforming SoTA with Improved Data Curation Only},
author={DatologyAI Team},
journal={DatologyAI Blog},
year={2025},
url={https://datologyai.com/blog/clip-data-upgrade}
}
For more details on our data curation methodology and comprehensive benchmark results, please visit our blog post.
Contact: [email protected]
DatologyAI Team - [email protected]