Downloads · 30 days
90
100% of all-time downloads
Wadden/vit-beans-demo
vit-beans-demo is a image classification model from Wadden. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned google/vit-base-patch16-224-in21k on the official beans dataset for 4 epochs. It classifies bean leaves as angularleafspot, beanrust, or healthy.
Downloads · 30 days
90
100% of all-time downloads
All-time downloads
90
Public
Parameters
85.8M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB · 79%
From the Hugging Face model README
Fine-tuned google/vit-base-patch16-224-in21k on the official
beans dataset for 4 epochs. It classifies bean leaves as
angular_leaf_spot, bean_rust, or healthy.
| Metric | Value |
|---|---|
| Accuracy | 0.9609 |
from transformers import pipeline
classifier = pipeline("image-classification", model="Wadden/vit-beans-demo")
classifier("leaf.jpg")
The quantized ONNX export is executed directly in the browser with Transformers.js: