beans-deit-tiny
This model is a fine-tuned version of facebook/deit-tiny-patch16-224 on the AI-Lab-Makerere/beans dataset. It achieves the following results on the evaluation set:
- Loss: 0.0619
- Accuracy: 0.9850
- F1 Macro: 0.9850
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: 5e-05
- train_batch_size: 32
- eval_batch_size: 64
- 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
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
|---|---|---|---|---|---|
| 0.3564 | 1.0 | 33 | 0.2455 | 0.9323 | 0.9328 |
| 0.2135 | 2.0 | 66 | 0.1431 | 0.9398 | 0.9400 |
| 0.1206 | 3.0 | 99 | 0.1306 | 0.9474 | 0.9475 |
| 0.1144 | 4.0 | 132 | 0.0704 | 0.9774 | 0.9776 |
| 0.1047 | 5.0 | 165 | 0.0619 | 0.9850 | 0.9850 |
Framework versions
- Transformers 5.19.0
- Pytorch 2.11.0+cu130
- Datasets 5.1.0
- Tokenizers 0.23.2