ethz/food101
Viewer • Updated • 101k • 31.1k • 136
How to use vincentiussgk/vit-base-patch16-224-in21k-finetuned-eurosat with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="vincentiussgk/vit-base-patch16-224-in21k-finetuned-eurosat")
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("vincentiussgk/vit-base-patch16-224-in21k-finetuned-eurosat")
model = AutoModelForImageClassification.from_pretrained("vincentiussgk/vit-base-patch16-224-in21k-finetuned-eurosat")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 |
|---|---|---|---|---|
| 3.0689 | 0.99 | 31 | 2.6415 | 0.82 |
| 1.6615 | 1.98 | 62 | 1.4504 | 0.898 |
| 1.1467 | 2.98 | 93 | 1.1055 | 0.927 |
Base model
google/vit-base-patch16-224-in21k