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

← All models

timm_vit_small_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_small_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): 22.1
    • GMACs: 4.3
    • Activations (M): 8.2
    • 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_small_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_small_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, 384) 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:9079f2af4926f4759b4befd47ebe28efea01ad36&dn=timm_vit_small_patch16_224.augreg_in21k_ft_in1k

Open magnet in torrent client · infohash 9079f2af4926f4759b4befd47ebe28efea01ad36

Files & hashes

PathSizesha1sha256
README.md3.8 KB (3,922 B)d161943b72f988dbcb6212865b4a3c00463244a91fbb26d5f1618e5bcb56ca4d71753a53544846af4e82b7150b36d971b4389131
config.json587 B (587 B)da5f40b781d8db8d16541d612a1ebdc6aa426ca5c5d0037088681d8fe1a92a05f8ec6be7002d992ed213aed6ab97b55d90b8756b
model.safetensors84.1 MB (88,216,496 B)150dd38f52b37f7fbf3faa3c9895b30e2314ee3579c03c635cdfd798a364a9d8c4e5c0b7255b975ea2c9616046d4f77ab01435aa
pytorch_model.bin84.2 MB (88,257,517 B)46fb74089b6c2ad2e00853efa081a310917e0878ce9fa8810cf4519ba5b3935853c5a22d67a5ea291e2c64f213610ac0afb5d632

Cite this release

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

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

Provenance

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

Trackers

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

apache-2.0168.3 MB (176,478,522 bytes)timmpytorchsafetensorsimage-classificationtransformerspaper: 2106.10270paper: 2010.11929