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