Instructions to use ealdaz/vit-base-beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ealdaz/vit-base-beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ealdaz/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("ealdaz/vit-base-beans") model = AutoModelForImageClassification.from_pretrained("ealdaz/vit-base-beans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,7 @@ metrics:
|
|
| 10 |
model-index:
|
| 11 |
- name: vit-base-beans
|
| 12 |
results: []
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -60,4 +61,4 @@ The following hyperparameters were used during training:
|
|
| 60 |
- Transformers 4.41.0.dev0
|
| 61 |
- Pytorch 2.2.2+cu121
|
| 62 |
- Datasets 2.19.0
|
| 63 |
-
- Tokenizers 0.19.1
|
|
|
|
| 10 |
model-index:
|
| 11 |
- name: vit-base-beans
|
| 12 |
results: []
|
| 13 |
+
pipeline_tag: image-classification
|
| 14 |
---
|
| 15 |
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 61 |
- Transformers 4.41.0.dev0
|
| 62 |
- Pytorch 2.2.2+cu121
|
| 63 |
- Datasets 2.19.0
|
| 64 |
+
- Tokenizers 0.19.1
|