truongson412
commited on
Commit
•
2b74817
1
Parent(s):
a5c31c2
End of training
Browse files- README.md +2 -2
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Oct29_02-07-45_7291ebd579c4/events.out.tfevents.1730168697.7291ebd579c4.23.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +209 -0
README.md
CHANGED
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
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.
|
22 |
-
- F1: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
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.5750
|
22 |
+
- F1: 0.6892
|
23 |
|
24 |
## Model description
|
25 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.9888475836431225,
|
3 |
+
"eval_f1": 0.6891891891891891,
|
4 |
+
"eval_loss": 0.5749828815460205,
|
5 |
+
"eval_runtime": 42.4435,
|
6 |
+
"eval_samples_per_second": 50.561,
|
7 |
+
"eval_steps_per_second": 1.602,
|
8 |
+
"total_flos": 2.0116004863053496e+18,
|
9 |
+
"train_loss": 0.5923614676912032,
|
10 |
+
"train_runtime": 970.3607,
|
11 |
+
"train_samples_per_second": 26.532,
|
12 |
+
"train_steps_per_second": 0.207
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.9888475836431225,
|
3 |
+
"eval_f1": 0.6891891891891891,
|
4 |
+
"eval_loss": 0.5749828815460205,
|
5 |
+
"eval_runtime": 42.4435,
|
6 |
+
"eval_samples_per_second": 50.561,
|
7 |
+
"eval_steps_per_second": 1.602
|
8 |
+
}
|
runs/Oct29_02-07-45_7291ebd579c4/events.out.tfevents.1730168697.7291ebd579c4.23.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4742ce2e1320dfd23e1c9b61933030df3ae2daca04d59a9d3c291ecd49a72f50
|
3 |
+
size 405
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.9888475836431225,
|
3 |
+
"total_flos": 2.0116004863053496e+18,
|
4 |
+
"train_loss": 0.5923614676912032,
|
5 |
+
"train_runtime": 970.3607,
|
6 |
+
"train_samples_per_second": 26.532,
|
7 |
+
"train_steps_per_second": 0.207
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.6891891891891891,
|
3 |
+
"best_model_checkpoint": "microsoft/swin-base-patch4-window7-224-finetuned-dsc/checkpoint-134",
|
4 |
+
"epoch": 2.9888475836431225,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 201,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.14869888475836432,
|
13 |
+
"grad_norm": 6.565695285797119,
|
14 |
+
"learning_rate": 2.380952380952381e-05,
|
15 |
+
"loss": 0.7083,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.29739776951672864,
|
20 |
+
"grad_norm": 5.438655376434326,
|
21 |
+
"learning_rate": 4.761904761904762e-05,
|
22 |
+
"loss": 0.6693,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.44609665427509293,
|
27 |
+
"grad_norm": 3.0724263191223145,
|
28 |
+
"learning_rate": 4.75e-05,
|
29 |
+
"loss": 0.6358,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.5947955390334573,
|
34 |
+
"grad_norm": 3.94057559967041,
|
35 |
+
"learning_rate": 4.472222222222223e-05,
|
36 |
+
"loss": 0.6324,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.7434944237918215,
|
41 |
+
"grad_norm": 3.166926383972168,
|
42 |
+
"learning_rate": 4.194444444444445e-05,
|
43 |
+
"loss": 0.6199,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.8921933085501859,
|
48 |
+
"grad_norm": 5.67188835144043,
|
49 |
+
"learning_rate": 3.9166666666666665e-05,
|
50 |
+
"loss": 0.614,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.9962825278810409,
|
55 |
+
"eval_f1": 0.684995340167754,
|
56 |
+
"eval_loss": 0.5885956287384033,
|
57 |
+
"eval_runtime": 42.0381,
|
58 |
+
"eval_samples_per_second": 51.049,
|
59 |
+
"eval_steps_per_second": 1.618,
|
60 |
+
"step": 67
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 1.0408921933085502,
|
64 |
+
"grad_norm": 5.284745693206787,
|
65 |
+
"learning_rate": 3.638888888888889e-05,
|
66 |
+
"loss": 0.614,
|
67 |
+
"step": 70
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 1.1895910780669146,
|
71 |
+
"grad_norm": 6.20527982711792,
|
72 |
+
"learning_rate": 3.3611111111111116e-05,
|
73 |
+
"loss": 0.5849,
|
74 |
+
"step": 80
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.3382899628252787,
|
78 |
+
"grad_norm": 3.855804681777954,
|
79 |
+
"learning_rate": 3.0833333333333335e-05,
|
80 |
+
"loss": 0.5679,
|
81 |
+
"step": 90
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 1.486988847583643,
|
85 |
+
"grad_norm": 2.7255961894989014,
|
86 |
+
"learning_rate": 2.8055555555555557e-05,
|
87 |
+
"loss": 0.5986,
|
88 |
+
"step": 100
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 1.6356877323420074,
|
92 |
+
"grad_norm": 2.572277545928955,
|
93 |
+
"learning_rate": 2.527777777777778e-05,
|
94 |
+
"loss": 0.5824,
|
95 |
+
"step": 110
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 1.7843866171003717,
|
99 |
+
"grad_norm": 4.312213897705078,
|
100 |
+
"learning_rate": 2.25e-05,
|
101 |
+
"loss": 0.5745,
|
102 |
+
"step": 120
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 1.933085501858736,
|
106 |
+
"grad_norm": 3.377645969390869,
|
107 |
+
"learning_rate": 1.9722222222222224e-05,
|
108 |
+
"loss": 0.5732,
|
109 |
+
"step": 130
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 1.9925650557620818,
|
113 |
+
"eval_f1": 0.6891891891891891,
|
114 |
+
"eval_loss": 0.5749828815460205,
|
115 |
+
"eval_runtime": 41.9409,
|
116 |
+
"eval_samples_per_second": 51.167,
|
117 |
+
"eval_steps_per_second": 1.621,
|
118 |
+
"step": 134
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 2.0817843866171004,
|
122 |
+
"grad_norm": 3.5765645503997803,
|
123 |
+
"learning_rate": 1.6944444444444446e-05,
|
124 |
+
"loss": 0.576,
|
125 |
+
"step": 140
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"epoch": 2.2304832713754648,
|
129 |
+
"grad_norm": 3.370438814163208,
|
130 |
+
"learning_rate": 1.4166666666666668e-05,
|
131 |
+
"loss": 0.56,
|
132 |
+
"step": 150
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 2.379182156133829,
|
136 |
+
"grad_norm": 4.5592265129089355,
|
137 |
+
"learning_rate": 1.138888888888889e-05,
|
138 |
+
"loss": 0.5413,
|
139 |
+
"step": 160
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"epoch": 2.5278810408921935,
|
143 |
+
"grad_norm": 2.81746506690979,
|
144 |
+
"learning_rate": 8.611111111111112e-06,
|
145 |
+
"loss": 0.5569,
|
146 |
+
"step": 170
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.6765799256505574,
|
150 |
+
"grad_norm": 3.472538471221924,
|
151 |
+
"learning_rate": 5.833333333333334e-06,
|
152 |
+
"loss": 0.551,
|
153 |
+
"step": 180
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 2.825278810408922,
|
157 |
+
"grad_norm": 3.6725478172302246,
|
158 |
+
"learning_rate": 3.0555555555555556e-06,
|
159 |
+
"loss": 0.5329,
|
160 |
+
"step": 190
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 2.973977695167286,
|
164 |
+
"grad_norm": 3.3126931190490723,
|
165 |
+
"learning_rate": 2.777777777777778e-07,
|
166 |
+
"loss": 0.5618,
|
167 |
+
"step": 200
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 2.9888475836431225,
|
171 |
+
"eval_f1": 0.6826654240447344,
|
172 |
+
"eval_loss": 0.5820640325546265,
|
173 |
+
"eval_runtime": 42.5373,
|
174 |
+
"eval_samples_per_second": 50.45,
|
175 |
+
"eval_steps_per_second": 1.599,
|
176 |
+
"step": 201
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 2.9888475836431225,
|
180 |
+
"step": 201,
|
181 |
+
"total_flos": 2.0116004863053496e+18,
|
182 |
+
"train_loss": 0.5923614676912032,
|
183 |
+
"train_runtime": 970.3607,
|
184 |
+
"train_samples_per_second": 26.532,
|
185 |
+
"train_steps_per_second": 0.207
|
186 |
+
}
|
187 |
+
],
|
188 |
+
"logging_steps": 10,
|
189 |
+
"max_steps": 201,
|
190 |
+
"num_input_tokens_seen": 0,
|
191 |
+
"num_train_epochs": 3,
|
192 |
+
"save_steps": 500,
|
193 |
+
"stateful_callbacks": {
|
194 |
+
"TrainerControl": {
|
195 |
+
"args": {
|
196 |
+
"should_epoch_stop": false,
|
197 |
+
"should_evaluate": false,
|
198 |
+
"should_log": false,
|
199 |
+
"should_save": true,
|
200 |
+
"should_training_stop": true
|
201 |
+
},
|
202 |
+
"attributes": {}
|
203 |
+
}
|
204 |
+
},
|
205 |
+
"total_flos": 2.0116004863053496e+18,
|
206 |
+
"train_batch_size": 32,
|
207 |
+
"trial_name": null,
|
208 |
+
"trial_params": null
|
209 |
+
}
|