Image Classification
Transformers
TensorBoard
ONNX
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use spolivin/food-vit-tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spolivin/food-vit-tutorial with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="spolivin/food-vit-tutorial") 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("spolivin/food-vit-tutorial") model = AutoModelForImageClassification.from_pretrained("spolivin/food-vit-tutorial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,6 @@ model-index:
|
|
| 23 |
value: 0.916
|
| 24 |
datasets:
|
| 25 |
- food101
|
| 26 |
-
library_name: transformers.js
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 23 |
value: 0.916
|
| 24 |
datasets:
|
| 25 |
- food101
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|