bombshelll's picture
Model save
dfb7b4e verified
|
raw
history blame
1.89 kB
metadata
library_name: transformers
license: apache-2.0
base_model: microsoft/swin-tiny-patch4-window7-224
tags:
  - generated_from_trainer
metrics:
  - accuracy
model-index:
  - name: swin-brain-modality-classification
    results: []

swin-brain-modality-classification

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.0377
  • Accuracy: 1.0

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: 20

Training results

Training Loss Epoch Step Validation Loss Accuracy
No log 0.9333 7 1.0901 0.6415
1.2435 2.0 15 0.4266 0.8585
0.5378 2.9333 22 0.1524 0.9528
0.1747 4.0 30 0.0747 0.9717
0.1747 4.9333 37 0.0865 0.9623
0.0905 6.0 45 0.0377 1.0

Framework versions

  • Transformers 4.45.1
  • Pytorch 2.4.0
  • Datasets 3.0.1
  • Tokenizers 0.20.0