Downloads · 30 days
12
3% of all-time downloads
ivandrian11/vit-fruit-classifier
vit-fruit-classifier is a machine learning model from ivandrian11. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
348
Public
Parameters
85.8M
343 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:
This model was fine-tuned on the Fruits-30 dataset, a collection of images featuring 30 different types of fruits. Each image has been preprocessed and standardized to a size of 224x224 pixels for uniformity.
The dataset was split into training and evaluation sets using dataset.train_test_split function with a 80/20 train-test split, resulting in:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.668 | 2.38 | 100 | 2.0731 | 0.9217 |
| 1.6565 | 4.76 | 200 | 1.4216 | 0.9518 |
| 1.1627 | 7.14 | 300 | 1.1256 | 0.9578 |
| 0.9571 | 9.52 | 400 | 1.0224 | 0.9639 |