ThankGod's picture
update model card README.md
7ddcd40
|
raw
history blame
2.09 kB
metadata
license: apache-2.0
tags:
  - generated_from_trainer
metrics:
  - accuracy
model-index:
  - name: swin-tiny-patch4-window7-224-vit-finetuned-melanoma
    results: []

swin-tiny-patch4-window7-224-vit-finetuned-melanoma

This model is a fine-tuned version of microsoft/swin-tiny-patch4-window7-224 on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.4676
  • Accuracy: 0.8368

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: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 10

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.5347 1.0 10 0.6032 0.7845
0.4686 2.0 20 0.5631 0.7908
0.388 3.0 30 0.5040 0.8067
0.3164 4.0 40 0.4808 0.8162
0.29 5.0 50 0.4786 0.8185
0.2268 6.0 60 0.4634 0.8320
0.2065 7.0 70 0.4707 0.8360
0.1681 8.0 80 0.4635 0.8296
0.1425 9.0 90 0.4795 0.8376
0.1452 10.0 100 0.4676 0.8368

Framework versions

  • Transformers 4.28.0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.4
  • Tokenizers 0.13.3