🖼️ Image Classification

vit-base-patch16-224

google/vit-base-patch16-224

Get AI Model →
4.7M
Downloads
❤️
953
Likes
🏷️
16
Tags
📦
transformers
Library
Model Details
Full Model IDgoogle/vit-base-patch16-224
Pipeline / Taskimage-classification
Librarytransformers
Downloads (all-time)4.7M
Likes953
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 →
nsfw_image_detection

Falconsai/nsfw_image_detection

35.8M❤️ 1.1K
Get AI Model →
mobilenetv3_small_100.lamb_in1k

timm/mobilenetv3_small_100.lamb_in1k

16.2M❤️ 60
Get AI Model →
fairface_age_image_detection

dima806/fairface_age_image_detection

7.1M❤️ 71
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
Downloads4.7M
❤️ Community Likes953
🛠️ 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?