Downloads · 30 days
0
fillo-rinaldi/ViT-H-14-laion2b_s32b_b79k
ViT-H-14-laion2b_s32b_b79k is a image classification model from fillo-rinaldi. Use it when you need a label for an image. It is set up for open_clip. The card lists the license as mit.
This repository contains full fine-tuned OpenCLIP ViT-H-14 checkpoints, each fine-tuned independently on one of the eight Vision8 downstream vision datasets starting from laion2bs32bb79k.
Downloads · 30 days
0
Access
Public
Updated Sep 5, 2026
Repo size
63.1 GB
Likes
0
Public
Click a slice to open those files.
.pt63.1 GB · 100%
From the Hugging Face model README
This repository contains full fine-tuned OpenCLIP ViT-H-14 checkpoints, each fine-tuned independently on one of the eight Vision8 downstream vision datasets starting from laion2b_s32b_b79k.
Each dataset folder contains:
full_best_ep.pt: checkpoint with the best validation accuracyfull_last_ep.pt: checkpoint from the final training epochDatasets and epochs:
| Dataset | Epochs | Test accuracy |
|---|---|---|
| SUN397 | 14 | 83.16% |
| Cars | 35 | 95.91% |
| RESISC45 | 15 | 97.32% |
| EuroSAT | 12 | 99.01% |
| SVHN | 4 | 98.19% |
| GTSRB | 11 | 99.28% |
| MNIST | 5 | 99.66% |
| DTD | 76 | 85.76% |
Vision8 macro-average: 94.79%.
ViT-H-14laion2b_s32b_b79k1e-5, weight decay 0.1128 (batch_size=4, gradient accumulation 32)1.00.142The checkpoint is a metadata-wrapped payload. Its state_dict uses the project prefix clip_model.model.; remove that prefix before loading it into the OpenCLIP model:
import torch
import open_clip
from huggingface_hub import hf_hub_download
checkpoint = hf_hub_download(
repo_id="fillo-rinaldi/ViT-H-14-laion2b_s32b_b79k",
filename="Cars/full_best_ep.pt",
repo_type="model",
)
payload = torch.load(checkpoint, map_location="cpu", weights_only=False)
state_dict = {
key.removeprefix("clip_model.model."): value
for key, value in payload["state_dict"].items()
if key.startswith("clip_model.model.")
}
model, _, preprocess = open_clip.create_model_and_transforms(
"ViT-H-14",
pretrained=None,
)
model.load_state_dict(state_dict, strict=True)
The .pt files contain format="full", OpenCLIP backbone metadata, and the complete OpenCLIP model state dict.