Downloads · 30 days
16
0% of all-time downloads
nomic-ai/vit_eva02_base_patch16_224.mim_in22k
vit_eva02_base_patch16_224.mim_in22k is a image classification model from nomic-ai. Use it when you need a label for an image. It is set up for timm. The card lists the license as apache-2.0.
Downloads · 30 days
16
0% of all-time downloads
All-time downloads
3.7K
Public
Parameters
85.9M
687 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
Downloaded checkpoint from here
Then did
import torch
import timm
from timm.models.eva import checkpoint_filter_fn
from timm.models import push_to_hf_hub
state_dict = torch.load("eva02/pt/eva02_B_pt_in21k_p14to16.pt")["model"]
model = timm.create_model("eva02_base_patch14_224", patch_size=16, ref_feat_shape=(14, 14))
filtered = checkpoint_filter_fn(state_dict, model)
push_to_hf_hub(t, "nomic-ai/eva02_base_patch16_224.mim_in22k", private=True, safe_serialization=True)