Model save
Browse files
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: microsoft/swin-base-patch4-window7-224
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: swin-base-patch4-window7-224_11092024
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# swin-base-patch4-window7-224_11092024
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5135
|
22 |
+
- Accuracy: 0.8337
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 0.0003
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 20
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 1.0366 | 1.0 | 400 | 0.9471 | 0.72 |
|
54 |
+
| 0.8257 | 2.0 | 800 | 0.7889 | 0.7538 |
|
55 |
+
| 0.7119 | 3.0 | 1200 | 0.7232 | 0.7775 |
|
56 |
+
| 0.6969 | 4.0 | 1600 | 0.6739 | 0.7837 |
|
57 |
+
| 0.6487 | 5.0 | 2000 | 0.6371 | 0.7863 |
|
58 |
+
| 0.5956 | 6.0 | 2400 | 0.6198 | 0.7887 |
|
59 |
+
| 0.5604 | 7.0 | 2800 | 0.5941 | 0.8025 |
|
60 |
+
| 0.5732 | 8.0 | 3200 | 0.5867 | 0.795 |
|
61 |
+
| 0.5578 | 9.0 | 3600 | 0.5705 | 0.8025 |
|
62 |
+
| 0.5449 | 10.0 | 4000 | 0.5575 | 0.8113 |
|
63 |
+
| 0.5419 | 11.0 | 4400 | 0.5505 | 0.8213 |
|
64 |
+
| 0.5086 | 12.0 | 4800 | 0.5385 | 0.8213 |
|
65 |
+
| 0.4929 | 13.0 | 5200 | 0.5340 | 0.8213 |
|
66 |
+
| 0.4701 | 14.0 | 5600 | 0.5297 | 0.8187 |
|
67 |
+
| 0.4803 | 15.0 | 6000 | 0.5240 | 0.8225 |
|
68 |
+
| 0.4988 | 16.0 | 6400 | 0.5197 | 0.83 |
|
69 |
+
| 0.4842 | 17.0 | 6800 | 0.5165 | 0.8313 |
|
70 |
+
| 0.4917 | 18.0 | 7200 | 0.5148 | 0.8313 |
|
71 |
+
| 0.4734 | 19.0 | 7600 | 0.5140 | 0.8325 |
|
72 |
+
| 0.4714 | 20.0 | 8000 | 0.5135 | 0.8337 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.45.2
|
78 |
+
- Pytorch 2.4.1+cpu
|
79 |
+
- Datasets 3.0.1
|
80 |
+
- Tokenizers 0.20.1
|
logs/events.out.tfevents.1731121933.Soda.14188.1
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf9a6c710e99ec4b75884d72d3ebedfb55a14d21d49158167912a94c8121bfc4
|
3 |
+
size 29430
|