🖼️ Image Classification

vit-base-patch16-224

google/vit-base-patch16-224

Get AI Model →
⬇
8.5M
Downloads
❤️
1.0K
Likes
🏷️
16
Tags
📦
transformers
Library
Model Details
Full Model IDgoogle/vit-base-patch16-224
Pipeline / Taskimage-classification
Librarytransformers
Downloads (all-time)8.5M
Likes1.0K
Last Modified9/5/2023
Author / Orggoogle
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("image-classification", model="google/vit-base-patch16-224")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchtfjaxsafetensorsvitimage-classificationvisiondataset:imagenet-1kdataset:imagenet-21karxiv:2010.11929arxiv:2006.03677license:apache-2.0endpoints_compatibledeploy:azureregion:us
More Image Classification Models
See all →
mobilenetv3_small_100.lamb_in1k

timm/mobilenetv3_small_100.lamb_in1k

⬇ 17.7M❤️ 155
Get AI Model →
Gender-Classifier-Mini

prithivMLmods/Gender-Classifier-Mini

⬇ 5.8M❤️ 14
Get AI Model →
resnet18.a1_in1k

timm/resnet18.a1_in1k

⬇ 2.0M❤️ 30
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🖼️ Task: Image Classification

This model is designed for the Image Classification task. Explore more models for this use case.

All Image Classification Models →
📊 Popularity
⬇ Downloads8.5M
❤️ Community Likes1.0K
🛠️ Requirements
  • →Install: pip install transformers
  • →Python 3.8+ recommended for Transformers.
  • →GPU (CUDA) speeds up inference significantly.
  • →Use model.half() for fp16 on limited VRAM.
👋 Need help with code?