swintransformer-brats-artifact-classifier
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.4839
- Accuracy: 0.9298
- Precision: 0.9316
- Recall: 0.9298
- F1: 0.9297
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.0001
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 20
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 80 | 0.6439 | 0.7317 | 0.7634 | 0.7317 | 0.7296 |
| 0.7561 | 2.0 | 160 | 0.3505 | 0.8666 | 0.8818 | 0.8666 | 0.8678 |
| 0.7561 | 3.0 | 240 | 0.2608 | 0.9017 | 0.9036 | 0.9017 | 0.9023 |
| 0.1834 | 4.0 | 320 | 0.5521 | 0.8483 | 0.8952 | 0.8483 | 0.8541 |
| 0.1834 | 5.0 | 400 | 0.3639 | 0.9087 | 0.9169 | 0.9087 | 0.9087 |
| 0.114 | 6.0 | 480 | 0.2863 | 0.9115 | 0.9175 | 0.9115 | 0.9098 |
| 0.114 | 7.0 | 560 | 0.2461 | 0.9382 | 0.9393 | 0.9382 | 0.9379 |
| 0.0628 | 8.0 | 640 | 0.3091 | 0.9354 | 0.9388 | 0.9354 | 0.9355 |
| 0.0628 | 9.0 | 720 | 0.3413 | 0.9157 | 0.9187 | 0.9157 | 0.9149 |
| 0.0327 | 10.0 | 800 | 0.4839 | 0.9298 | 0.9316 | 0.9298 | 0.9297 |
Framework versions
- Transformers 4.53.3
- Pytorch 2.6.0+cu124
- Datasets 4.4.1
- Tokenizers 0.21.2
- Downloads last month
- 2
Model tree for lyfesan/swintransformer-brats-artifact-classifier
Base model
microsoft/swin-tiny-patch4-window7-224