ethz/food101
Viewer • Updated • 101k • 28.9k • 134
How to use justinsiow/vit_101 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="justinsiow/vit_101")
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("justinsiow/vit_101")
model = AutoModelForImageClassification.from_pretrained("justinsiow/vit_101")This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the food101 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.7266 | 0.99 | 62 | 2.5317 | 0.814 |
| 1.8315 | 2.0 | 125 | 1.7931 | 0.864 |
| 1.5845 | 2.98 | 186 | 1.6267 | 0.88 |