Image Classification
Transformers
PyTorch
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use johnnydevriese/vit_beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use johnnydevriese/vit_beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="johnnydevriese/vit_beans") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("johnnydevriese/vit_beans") model = AutoModelForImageClassification.from_pretrained("johnnydevriese/vit_beans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add evaluation results on beans dataset
Beep boop, I am a bot from Hugging Face's automatic model evaluator 👋!\ Your model has been evaluated on the [beans](https://huggingface.co/datasets/beans) dataset by @lewtun, using the predictions stored [here](https://huggingface.co/datasets/autoevaluate/autoeval-staging-eval-project-ac4402f5-7985072).\ Accept this pull request to see the results displayed on the [Hub leaderboard](https://huggingface.co/spaces/autoevaluate/leaderboards?dataset=beans).\ Evaluate your model on more datasets [here](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=beans).b81cfb2
-
update model card README.md
3121791 -
my-vit-model
25d3f23 -
initial commit
dccd5ad