Model save
Browse files- README.md +74 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swin-tiny-patch4-window7-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: Main_fashion-swin
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# Main_fashion-swin
|
17 |
+
|
18 |
+
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.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.7830
|
21 |
+
- Accuracy: 0.7053
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 32
|
42 |
+
- eval_batch_size: 32
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 128
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
49 |
+
- num_epochs: 12
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
55 |
+
| 2.019 | 0.9630 | 13 | 1.7204 | 0.3805 |
|
56 |
+
| 1.646 | 2.0 | 27 | 1.2356 | 0.5940 |
|
57 |
+
| 0.9911 | 2.9630 | 40 | 0.9948 | 0.6821 |
|
58 |
+
| 0.9104 | 4.0 | 54 | 0.9069 | 0.6775 |
|
59 |
+
| 0.8337 | 4.9630 | 67 | 0.8472 | 0.6961 |
|
60 |
+
| 0.7425 | 6.0 | 81 | 0.8436 | 0.6891 |
|
61 |
+
| 0.6625 | 6.9630 | 94 | 0.8257 | 0.6937 |
|
62 |
+
| 0.6814 | 8.0 | 108 | 0.8274 | 0.6914 |
|
63 |
+
| 0.6445 | 8.9630 | 121 | 0.7940 | 0.7053 |
|
64 |
+
| 0.6032 | 10.0 | 135 | 0.8015 | 0.7030 |
|
65 |
+
| 0.6231 | 10.9630 | 148 | 0.7825 | 0.7077 |
|
66 |
+
| 0.6337 | 11.5556 | 156 | 0.7830 | 0.7053 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.40.1
|
72 |
+
- Pytorch 2.2.1+cu121
|
73 |
+
- Datasets 2.19.0
|
74 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110361288
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9a7333a680ea15c29b2a8e262892fd747b5f17e7e1b3e977860d714430c06b1
|
3 |
size 110361288
|