Instructions to use pytholic/vit_classification_huggingface with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pytholic/vit_classification_huggingface with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pytholic/vit_classification_huggingface") 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("pytholic/vit_classification_huggingface") model = AutoModelForImageClassification.from_pretrained("pytholic/vit_classification_huggingface") - Notebooks
- Google Colab
- Kaggle
added example widget
Browse files
README.md
CHANGED
|
@@ -5,7 +5,27 @@ tags:
|
|
| 5 |
- huggingpics
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: vit_classification_huggingface
|
| 11 |
results:
|
|
|
|
| 5 |
- huggingpics
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
+
widget:
|
| 9 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/cane.jpeg
|
| 10 |
+
example_title: Cane
|
| 11 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/cavallo.jpeg
|
| 12 |
+
example_title: Cavallo
|
| 13 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/elefante.jpeg
|
| 14 |
+
example_title: Elefante
|
| 15 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/farfalla.jpeg
|
| 16 |
+
example_title: Farfalla
|
| 17 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/gallina.jpeg
|
| 18 |
+
example_title: Gallina
|
| 19 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/gatto.jpeg
|
| 20 |
+
example_title: Gatto
|
| 21 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/mucca.jpeg
|
| 22 |
+
example_title: Mucca
|
| 23 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/pecora.jpeg
|
| 24 |
+
example_title: Pecora
|
| 25 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/ragno.jpeg
|
| 26 |
+
example_title: Ragno
|
| 27 |
+
- src: https://huggingface.co/pytholic/vit_classification_huggingface/tree/main/data/scoiattolo.jpeg
|
| 28 |
+
example_title: Scoiattolo
|
| 29 |
model-index:
|
| 30 |
- name: vit_classification_huggingface
|
| 31 |
results:
|