vit-skin-demo-v5
This model is a fine-tuned version of google/vit-base-patch16-224 on the skin-cancer dataset. It achieves the following results on the evaluation set:
- Loss: 0.5691
- Accuracy: 0.8492
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.0002
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
0.2249 | 1.56 | 500 | 0.5785 | 0.8471 |
0.2861 | 3.12 | 1000 | 0.5275 | 0.8508 |
0.1399 | 4.67 | 1500 | 0.6837 | 0.8452 |
0.0663 | 6.23 | 2000 | 0.7449 | 0.8571 |
0.0612 | 7.79 | 2500 | 0.7463 | 0.8670 |
0.0008 | 9.35 | 3000 | 0.7541 | 0.8702 |
Framework versions
- Transformers 4.37.2
- Pytorch 2.1.0+cu121
- Datasets 2.17.1
- Tokenizers 0.15.2
- Downloads last month
- 192
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.
Model tree for sharren/vit-skin-demo-v5
Base model
google/vit-base-patch16-224