vit-base-patch16-224
Google · google/vit-base-patch16-224
Weights license: Apache 2.0 · code and components may use other terms
Quality
No comparable score
We track no public, comparable benchmark that covers this model yet. No score is inferred.
Reported by the publisher
Runs on
Fast memory holds it 119
The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.
Show all 119
Hardware profiles grouped by a labelled 16-bit planning estimate from the Hugging Face parameter count (2 bytes per parameter, 20% allowance, 2 GB reserve): classic vision encoders are not usually quantized. Image size and batch change the real requirement. Not a measured fit.
Google released vit-base-patch16-224 on 2020-10-29: an image classification encoder, with 100M parameters on the Hugging Face count and the Apache 2.0 license.
License: commercial use allowed. The 16-bit estimate is about 3 GB with reserve; image size and batch change the real figure.
Measured speed
No published measurement for this checkpoint
Tokens per second are shown only when a source publishes them with hardware, build and setup. They are never estimated.
How to run
Runtime compatibility and tokens per second have not been measured for this entry. Published metadata and a memory estimate do not prove a successful local run.
Library in source: transformers
Documented ways to run it
Copied as printed in the linked source (read 2026-10-18); not run by this site.
from transformers import ViTImageProcessor, ViTForImageClassification
from PIL import Image
import requests
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
image = Image.open(requests.get(url, stream=True).raw)
processor = ViTImageProcessor.from_pretrained('google/vit-base-patch16-224')
model = ViTForImageClassification.from_pretrained('google/vit-base-patch16-224')
inputs = processor(images=image, return_tensors="pt")
outputs = model(**inputs)
logits = outputs.logits
# model predicts one of the 1000 ImageNet classes
predicted_class_idx = logits.argmax(-1).item()
print("Predicted class:", model.config.id2label[predicted_class_idx])Technical details
What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.
- Checkpoint / source
- google/vit-base-patch16-224
- Task
- image-classification
- Architecture
- ViTForImageClassification
- Library in source
- transformers
- Weight license
- Apache 2.0google/vit-base-patch16-224 model card (Hugging Face) · read 2026-10-18source
- Commercial use
- Allowed Apache License 2.0 text (SPDX) · read 2026-10-18license text
- Released
- google-research/vision_transformer README changelog (GitHub) · read 2026-10-18source
Every stored field
- Revision checked
- 3f49326eb077187dfe1c2a2bb15fbd74e6ab91e3
- Architecture
- ViTForImageClassification
- Library
- transformers
- Hub task tag
- image-classification
- Formats
- transformers, pytorch, safetensors
- Access
- Open download
- Publisher kind
- Official
- Repository created
- 2022-03-02creation is not the model's release
- Repository updated
- 2023-09-05a commit is not a release date
- Hub downloads (30 days) · likes
- 14,594,137 · 1,043this repository only · read 2026-10-25
- Catalog state
- Hub config or weights found; no inventory benchmark link
Sources
Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.
- Publisher model card
- License: google/vit-base-patch16-224 model card (Hugging Face)
- Release date: google-research/vision_transformer README changelog (GitHub)
Curated facts checked: 2026-10-18. The license and release date cite the publisher's sources; parameters, files and task come from the Hugging Face record, and memory is a labelled estimate from its parameter count. A value no source states stays empty; a repository commit is not a model release date.






























































