
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# 15

This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
It achieves the following results on the evaluation set:
- Loss: 0.5997
- Accuracy: 0.7812

## 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 |
|:-------------:|:-------:|:----:|:---------------:|:--------:|
| 0.154         | 0.9655  | 7    | 0.5254          | 0.7812   |
| 0.1262        | 1.9310  | 14   | 0.8508          | 0.7188   |
| 0.098         | 2.8966  | 21   | 0.6353          | 0.7969   |
| 0.0822        | 4.0     | 29   | 0.6771          | 0.7734   |
| 0.0834        | 4.9655  | 36   | 0.9025          | 0.7344   |
| 0.1243        | 5.9310  | 43   | 0.7911          | 0.7734   |
| 0.1599        | 6.8966  | 50   | 0.7152          | 0.7969   |
| 0.1698        | 8.0     | 58   | 0.7211          | 0.8047   |
| 0.241         | 8.9655  | 65   | 0.5903          | 0.7891   |
| 0.1972        | 9.9310  | 72   | 0.5848          | 0.7656   |
| 0.1741        | 10.8966 | 79   | 0.5149          | 0.7812   |
| 0.1673        | 12.0    | 87   | 0.4927          | 0.7891   |
| 0.1793        | 12.9655 | 94   | 0.5655          | 0.8125   |
| 0.1717        | 13.9310 | 101  | 0.5873          | 0.8047   |
| 0.1705        | 14.8966 | 108  | 0.5591          | 0.7734   |
| 0.1455        | 16.0    | 116  | 0.5839          | 0.8047   |
| 0.1373        | 16.9655 | 123  | 0.5683          | 0.7734   |
| 0.1467        | 17.9310 | 130  | 0.5917          | 0.7891   |
| 0.1477        | 18.8966 | 137  | 0.6008          | 0.7891   |
| 0.0904        | 19.3103 | 140  | 0.5997          | 0.7812   |


### Framework versions

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

hgg lgg