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

← All models

timm_vit_base_patch8_224.augreg2_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_base_patch8_224.augreg2_in21k_ft_in1k

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

Model Details

  • Model Type: Image classification / feature backbone
  • Model Stats:
    • Params (M): 86.6
    • GMACs: 66.9
    • Activations (M): 65.7
    • 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_base_patch8_224.augreg2_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_base_patch8_224.augreg2_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, 785, 768) 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:2237432f7e48e2ba8fe61ebde526e4f7c82fbf1a&dn=timm_vit_base_patch8_224.augreg2_in21k_ft_in1k

Open magnet in torrent client · infohash 2237432f7e48e2ba8fe61ebde526e4f7c82fbf1a

Files & hashes

PathSizesha1sha256
README.md3.8 KB (3,898 B)17ee163a70cadac610b7be611caed0e7d2ce5e6300700004d885b805c8213dfc3300996a6cdf93d7086095dbbb84bfbbe5d7eebe
config.json587 B (587 B)a2b881371d1d5659ebb1cb4f6bb96bab85fe987d424fcb00097e860ecb8ef537918dbd8f61a362678493b1187ab9f0a32ce7cc72
model.safetensors330.3 MB (346,321,582 B)52f23cb9117d56d0fe0171b8e50137da15dad2df45333d3cd3366ed0f57e94b93655eeb8895b4610ddf2a5a7ca7b2410874ea0c9
pytorch_model.bin330.3 MB (346,362,349 B)5e2df417b00b88d3a2406d1529a98b85ad697463788b05f6178a60111324172978cb2a60502d9915fd9901dcde6652e9dbf28f18

Cite this release

Canonical URL
https://aiseedbank.org/models/timm_vit_base_patch8_224.augreg2_in21k_ft_in1k/
Slug
timm_vit_base_patch8_224.augreg2_in21k_ft_in1k
Infohash
2237432f7e48e2ba8fe61ebde526e4f7c82fbf1a
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

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

Provenance

Upstream repositorytimm/vit_base_patch8_224.augreg2_in21k_ft_in1k
Revision (pinned)907a22023d1c918aae6d7f340275616a25f7f2ff
Fetched at2026-09-04T06:34:16Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T06:34:28Z

apache-2.0660.6 MB (692,688,416 bytes)timmpytorchsafetensorsimage-classificationtransformerspaper: 2106.10270paper: 2010.11929