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")# pip install -U transformers accelerate # 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") - Notebooks
- Google Colab
- Kaggle
Update metadata with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
| 3 |
license: apache-2.0
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
@@ -28,7 +28,7 @@ model-index:
|
|
| 28 |
metrics:
|
| 29 |
- name: Accuracy
|
| 30 |
type: accuracy
|
| 31 |
-
value:
|
| 32 |
---
|
| 33 |
|
| 34 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
license: apache-2.0
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
| 28 |
metrics:
|
| 29 |
- name: Accuracy
|
| 30 |
type: accuracy
|
| 31 |
+
value: 0.9774436090225563
|
| 32 |
---
|
| 33 |
|
| 34 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|