AI SeedbankHelp preserve open and free AI for humanity's future

← All models

timm_vit_tiny_patch16_224.augreg_in21k_ft_in1k

timm · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


tags:

  • image-classification
  • timm
  • transformers library_name: timm license: apache-2.0 datasets:
  • imagenet-1k
  • imagenet-21k

Model card for vit_tiny_patch16_224.augreg_in21k_ft_in1k

A Vision Transformer (ViT) image classification model. Trained on ImageNet-21k and fine-tuned on ImageNet-1k (with additional augmentation and regularization) in JAX by paper authors, ported to PyTorch by Ross Wightman.

Model Details

  • Model Type: Image classification / feature backbone
  • Model Stats:
    • Params (M): 5.7
    • GMACs: 1.1
    • Activations (M): 4.1
    • Image size: 224 x 224
  • Papers:
    • How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers: https://arxiv.org/abs/2106.10270
    • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale: https://arxiv.org/abs/2010.11929v2
  • Dataset: ImageNet-1k
  • Pretrain Dataset: ImageNet-21k
  • Original: https://github.com/google-research/vision_transformer

Model Usage

Image Classification

from urllib.request import urlopen
from PIL import Image
import timm

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

model = timm.create_model('vit_tiny_patch16_224.augreg_in21k_ft_in1k', pretrained=True)
model = model.eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # unsqueeze single image into batch of 1

top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5)

Image Embeddings

from urllib.request import urlopen
from PIL import Image
import timm

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

model = timm.create_model(
    'vit_tiny_patch16_224.augreg_in21k_ft_in1k',
    pretrained=True,
    num_classes=0,  # remove classifier nn.Linear
)
model = model.eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # output is (batch_size, num_features) shaped tensor

# or equivalently (without needing to set num_classes=0)

output = model.forward_features(transforms(img).unsqueeze(0))
# output is unpooled, a (1, 197, 192) shaped tensor

output = model.forward_head(output, pre_logits=True)
# output is a (1, num_features) shaped tensor

Model Comparison

Explore the dataset and runtime metrics of this model in timm model results.

Citation

@article{steiner2021augreg,
  title={How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers},
  author={Steiner, Andreas and Kolesnikov, Alexander and and Zhai, Xiaohua and Wightman, Ross and Uszkoreit, Jakob and Beyer, Lucas},
  journal={arXiv preprint arXiv:2106.10270},
  year={2021}
}
@article{dosovitskiy2020vit,
  title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale},
  author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and  Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil},
  journal={ICLR},
  year={2021}
}
@misc{rw2019timm,
  author = {Ross Wightman},
  title = {PyTorch Image Models},
  year = {2019},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.5281/zenodo.4414861},
  howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:a46f880fc8ca5cf46f948f2614d7892fb29dac41&dn=timm_vit_tiny_patch16_224.augreg_in21k_ft_in1k

Open magnet in torrent client · infohash a46f880fc8ca5cf46f948f2614d7892fb29dac41

Files & hashes

PathSizesha1sha256
README.md3.8 KB (3,918 B)8a33b512f5aa593e2a7b3292895bd4bb7828ca12989d20e77ea71e4710ef2e990dece8176bc29882dec9000328539e1fa82b1db3
config.json586 B (586 B)e4ab1a5a5c7753b02e3d8c28edafcc906221cdbfe328e0f3717427f87898184cd8eba835526a8deaaba703b5066b307afea10e80
model.safetensors21.8 MB (22,883,348 B)9db4b6d23c47d60938d37846ef2e34237027d570fecf81b492bd13ee7a5297cb74d1d417aac8bf7e1b7d96aed89c4691984587ed
pytorch_model.bin21.9 MB (22,924,205 B)d0fa6f8e1a0e8582a0d729afb5e5fb271be7b50b765ebd32b9f203b323d4e10815b1d18e129afcab27509644e5cbab0b5b04ba4b

Cite this release

Canonical URL
https://aiseedbank.org/models/timm_vit_tiny_patch16_224.augreg_in21k_ft_in1k/
Slug
timm_vit_tiny_patch16_224.augreg_in21k_ft_in1k
Infohash
a46f880fc8ca5cf46f948f2614d7892fb29dac41
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: timm_vit_tiny_patch16_224.augreg_in21k_ft_in1k.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorytimm/vit_tiny_patch16_224.augreg_in21k_ft_in1k
Revision (pinned)7d3afdd0cf93ad84d986eb2d6bcc5812ebd0b106
Fetched at2026-09-04T06:35:07Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T06:35:10Z

apache-2.043.7 MB (45,812,057 bytes)timmpytorchsafetensorsimage-classificationtransformerspaper: 2106.10270paper: 2010.11929