--- license: apache-2.0 base_model: microsoft/swin-tiny-patch4-window7-224 tags: - generated_from_trainer metrics: - accuracy model-index: - name: Main_fashion-swin results: [] --- # Main_fashion-swin This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.7830 - Accuracy: 0.7053 ## 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: 12 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-------:|:----:|:---------------:|:--------:| | 2.019 | 0.9630 | 13 | 1.7204 | 0.3805 | | 1.646 | 2.0 | 27 | 1.2356 | 0.5940 | | 0.9911 | 2.9630 | 40 | 0.9948 | 0.6821 | | 0.9104 | 4.0 | 54 | 0.9069 | 0.6775 | | 0.8337 | 4.9630 | 67 | 0.8472 | 0.6961 | | 0.7425 | 6.0 | 81 | 0.8436 | 0.6891 | | 0.6625 | 6.9630 | 94 | 0.8257 | 0.6937 | | 0.6814 | 8.0 | 108 | 0.8274 | 0.6914 | | 0.6445 | 8.9630 | 121 | 0.7940 | 0.7053 | | 0.6032 | 10.0 | 135 | 0.8015 | 0.7030 | | 0.6231 | 10.9630 | 148 | 0.7825 | 0.7077 | | 0.6337 | 11.5556 | 156 | 0.7830 | 0.7053 | ### Framework versions - Transformers 4.40.1 - Pytorch 2.2.1+cu121 - Datasets 2.19.0 - Tokenizers 0.19.1