Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use jaypratap/vit-base-patch16-224-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaypratap/vit-base-patch16-224-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jaypratap/vit-base-patch16-224-classifier") 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("jaypratap/vit-base-patch16-224-classifier") model = AutoModelForImageClassification.from_pretrained("jaypratap/vit-base-patch16-224-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
f13c3b5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:adc7857f8bd60e1c0b4b0dac5e5c406c3df2ee29f779ab132d9344c1c8aae679
size 4984
|