ethz/food101
Viewer β’ Updated β’ 101k β’ 30.1k β’ 134
How to use eslamxm/vit-base-food101 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="eslamxm/vit-base-food101")
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("eslamxm/vit-base-food101")
model = AutoModelForImageClassification.from_pretrained("eslamxm/vit-base-food101")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 |
|---|---|---|---|---|
| 1.657 | 1.0 | 4735 | 0.9732 | 0.7459 |
| 0.9869 | 2.0 | 9470 | 0.7987 | 0.7884 |
| 0.71 | 3.0 | 14205 | 0.6364 | 0.8311 |
| 0.4961 | 4.0 | 18940 | 0.5595 | 0.8487 |