🖼�� Image Classification

vit-base-patch16-224

google/vit-base-patch16-224

Get AI Model →
4.9M
Downloads
�����
965
Likes
�����
16
Tags
📦
transformers
Library
Model Details
Full Model IDgoogle/vit-base-patch16-224
Pipeline / Taskimage-classification
Librarytransformers
Downloads (all-time)4.9M
Likes965
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

10.8M����� 75
Get AI Model →
nsfw_image_detection

Falconsai/nsfw_image_detection

8.5M����� 1.1K
Get AI Model →
fairface_age_image_detection

dima806/fairface_age_image_detection

4.8M����� 73
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.9M
����� Community Likes965
🛠�� 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?