How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="pytholic/vit_classification_huggingface")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("pytholic/vit_classification_huggingface")
model = AutoModelForImageClassification.from_pretrained("pytholic/vit_classification_huggingface")
Quick Links

vit_classification_huggingface

Animal-10 dataset classification using Vision Transformer with Hugging Face.

Example Images

cane

cane

cavallo

cavallo

elefante

elefante

farfalla

farfalla

gallina

gallina

gatto

gatto

mucca

mucca

pecora

pecora

ragno

ragno

scoiattolo

scoiattolo

Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Evaluation results