flower-vit
This model is a fine-tuned version of google/vit-base-patch16-224 on the custom flower dataset dataset. It achieves the following results on the evaluation set:
- Loss: 0.5815
- Accuracy: 0.96
- Precision: 0.9657
- Recall: 0.96
- F1: 0.9602
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 12 | 0.9822 | 0.7917 | 0.8073 | 0.7917 | 0.7889 |
| 1.0633 | 2.0 | 24 | 0.6674 | 0.9167 | 0.9219 | 0.9167 | 0.9139 |
| 1.0633 | 3.0 | 36 | 0.5080 | 0.9167 | 0.9219 | 0.9167 | 0.9139 |
| 0.4855 | 4.0 | 48 | 0.4353 | 0.9167 | 0.9219 | 0.9167 | 0.9139 |
| 0.3281 | 5.0 | 60 | 0.4147 | 0.9167 | 0.9219 | 0.9167 | 0.9139 |
Framework versions
- Transformers 5.5.0
- Pytorch 2.11.0+cpu
- Datasets 4.8.4
- Tokenizers 0.22.2
- Downloads last month
- 67
Model tree for DKatheesrupan/flower-vit
Base model
google/vit-base-patch16-224Evaluation results
- Accuracy on custom flower datasetself-reported0.960
- Precision on custom flower datasetself-reported0.966
- Recall on custom flower datasetself-reported0.960
- F1 on custom flower datasetself-reported0.960