dino.ham.original-finetuned-SkinDisease
This model is a fine-tuned version of facebook/dinov2-base on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.2702
- Accuracy: 0.9091
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: 32
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 128
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.8002 | 1.0 | 55 | 0.6499 | 0.7742 |
| 0.6745 | 2.0 | 110 | 0.6025 | 0.7782 |
| 0.5297 | 3.0 | 165 | 0.4826 | 0.8022 |
| 0.4455 | 4.0 | 220 | 0.3829 | 0.8581 |
| 0.3720 | 5.0 | 275 | 0.3802 | 0.8621 |
| 0.2922 | 6.0 | 330 | 0.4781 | 0.8561 |
| 0.2447 | 7.0 | 385 | 0.3206 | 0.8891 |
| 0.1882 | 8.0 | 440 | 0.2642 | 0.9031 |
| 0.1604 | 9.0 | 495 | 0.2912 | 0.8991 |
| 0.1272 | 10.0 | 550 | 0.2702 | 0.9091 |
Framework versions
- Transformers 5.5.4
- Pytorch 2.10.0+cu128
- Datasets 4.8.4
- Tokenizers 0.22.2