kevinoli commited on
Commit
fe94588
1 Parent(s): 5f3e7e9

Training in progress, step 8500, checkpoint

Browse files
checkpoint-8500/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/clip-vit-large-patch14-336",
3
+ "architectures": [
4
+ "CLIPModel"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "clip",
9
+ "projection_dim": 768,
10
+ "text_config": {
11
+ "dropout": 0.0,
12
+ "hidden_size": 768,
13
+ "intermediate_size": 3072,
14
+ "model_type": "clip_text_model",
15
+ "num_attention_heads": 12,
16
+ "projection_dim": 768
17
+ },
18
+ "torch_dtype": "float32",
19
+ "transformers_version": "4.45.0.dev0",
20
+ "vision_config": {
21
+ "dropout": 0.0,
22
+ "hidden_size": 1024,
23
+ "image_size": 336,
24
+ "intermediate_size": 4096,
25
+ "model_type": "clip_vision_model",
26
+ "num_attention_heads": 16,
27
+ "num_hidden_layers": 24,
28
+ "patch_size": 14,
29
+ "projection_dim": 768
30
+ }
31
+ }
checkpoint-8500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff9b9c5167c307f91f52526d6e09e24ec0303767319629ca3a3985e49190c0f9
3
+ size 1711848436
checkpoint-8500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fadddc37f972abe818bc3dc35bd66471f4638115a87e7beb15ba01d9f504a76c
3
+ size 3424043887
checkpoint-8500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c99df967694e66808fb8d4e4814367449c627fb6d4991b78dafe1ced9ade3e
3
+ size 14503
checkpoint-8500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:998db30ce9755e402795c97c30f3722cf9254f18a02b49e12ec0d35deb79dc55
3
+ size 623
checkpoint-8500/trainer_state.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9664921760559082,
3
+ "best_model_checkpoint": "./output/clip-finetuned-csu-p14-336-e4l58-l/checkpoint-8500",
4
+ "epoch": 1.565665868484067,
5
+ "eval_steps": 500,
6
+ "global_step": 8500,
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.09209799226376865,
13
+ "grad_norm": 0.0014697719598188996,
14
+ "learning_rate": 4.884877509670289e-08,
15
+ "loss": 0.4588,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.09209799226376865,
20
+ "eval_loss": 1.4194883108139038,
21
+ "eval_runtime": 78.7703,
22
+ "eval_samples_per_second": 15.31,
23
+ "eval_steps_per_second": 1.917,
24
+ "step": 500
25
+ },
26
+ {
27
+ "epoch": 0.1841959845275373,
28
+ "grad_norm": 301.76043701171875,
29
+ "learning_rate": 4.769755019340578e-08,
30
+ "loss": 0.4255,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 0.1841959845275373,
35
+ "eval_loss": 1.3416553735733032,
36
+ "eval_runtime": 77.0051,
37
+ "eval_samples_per_second": 15.661,
38
+ "eval_steps_per_second": 1.961,
39
+ "step": 1000
40
+ },
41
+ {
42
+ "epoch": 0.27629397679130596,
43
+ "grad_norm": 35.28853225708008,
44
+ "learning_rate": 4.654632529010867e-08,
45
+ "loss": 0.3724,
46
+ "step": 1500
47
+ },
48
+ {
49
+ "epoch": 0.27629397679130596,
50
+ "eval_loss": 1.2872973680496216,
51
+ "eval_runtime": 77.5439,
52
+ "eval_samples_per_second": 15.552,
53
+ "eval_steps_per_second": 1.947,
54
+ "step": 1500
55
+ },
56
+ {
57
+ "epoch": 0.3683919690550746,
58
+ "grad_norm": 338.9349060058594,
59
+ "learning_rate": 4.539510038681156e-08,
60
+ "loss": 0.3251,
61
+ "step": 2000
62
+ },
63
+ {
64
+ "epoch": 0.3683919690550746,
65
+ "eval_loss": 1.234910249710083,
66
+ "eval_runtime": 78.7715,
67
+ "eval_samples_per_second": 15.31,
68
+ "eval_steps_per_second": 1.917,
69
+ "step": 2000
70
+ },
71
+ {
72
+ "epoch": 0.46048996131884323,
73
+ "grad_norm": 325.85101318359375,
74
+ "learning_rate": 4.4243875483514457e-08,
75
+ "loss": 0.3308,
76
+ "step": 2500
77
+ },
78
+ {
79
+ "epoch": 0.46048996131884323,
80
+ "eval_loss": 1.1944907903671265,
81
+ "eval_runtime": 79.0397,
82
+ "eval_samples_per_second": 15.258,
83
+ "eval_steps_per_second": 1.91,
84
+ "step": 2500
85
+ },
86
+ {
87
+ "epoch": 0.5525879535826119,
88
+ "grad_norm": 100.85855102539062,
89
+ "learning_rate": 4.309265058021735e-08,
90
+ "loss": 0.3017,
91
+ "step": 3000
92
+ },
93
+ {
94
+ "epoch": 0.5525879535826119,
95
+ "eval_loss": 1.1593009233474731,
96
+ "eval_runtime": 77.6354,
97
+ "eval_samples_per_second": 15.534,
98
+ "eval_steps_per_second": 1.945,
99
+ "step": 3000
100
+ },
101
+ {
102
+ "epoch": 0.6446859458463805,
103
+ "grad_norm": 8.865598678588867,
104
+ "learning_rate": 4.194142567692024e-08,
105
+ "loss": 0.2962,
106
+ "step": 3500
107
+ },
108
+ {
109
+ "epoch": 0.6446859458463805,
110
+ "eval_loss": 1.1259427070617676,
111
+ "eval_runtime": 78.2715,
112
+ "eval_samples_per_second": 15.408,
113
+ "eval_steps_per_second": 1.929,
114
+ "step": 3500
115
+ },
116
+ {
117
+ "epoch": 0.7367839381101492,
118
+ "grad_norm": 4.393447399139404,
119
+ "learning_rate": 4.079020077362314e-08,
120
+ "loss": 0.2919,
121
+ "step": 4000
122
+ },
123
+ {
124
+ "epoch": 0.7367839381101492,
125
+ "eval_loss": 1.0954023599624634,
126
+ "eval_runtime": 78.5366,
127
+ "eval_samples_per_second": 15.356,
128
+ "eval_steps_per_second": 1.923,
129
+ "step": 4000
130
+ },
131
+ {
132
+ "epoch": 0.8288819303739179,
133
+ "grad_norm": 1.6036031246185303,
134
+ "learning_rate": 3.9638975870326026e-08,
135
+ "loss": 0.307,
136
+ "step": 4500
137
+ },
138
+ {
139
+ "epoch": 0.8288819303739179,
140
+ "eval_loss": 1.0728861093521118,
141
+ "eval_runtime": 78.4032,
142
+ "eval_samples_per_second": 15.382,
143
+ "eval_steps_per_second": 1.926,
144
+ "step": 4500
145
+ },
146
+ {
147
+ "epoch": 0.9209799226376865,
148
+ "grad_norm": 11.990758895874023,
149
+ "learning_rate": 3.8487750967028915e-08,
150
+ "loss": 0.2764,
151
+ "step": 5000
152
+ },
153
+ {
154
+ "epoch": 0.9209799226376865,
155
+ "eval_loss": 1.0523593425750732,
156
+ "eval_runtime": 78.3726,
157
+ "eval_samples_per_second": 15.388,
158
+ "eval_steps_per_second": 1.927,
159
+ "step": 5000
160
+ },
161
+ {
162
+ "epoch": 1.013077914901455,
163
+ "grad_norm": 43.865562438964844,
164
+ "learning_rate": 3.733652606373181e-08,
165
+ "loss": 0.2456,
166
+ "step": 5500
167
+ },
168
+ {
169
+ "epoch": 1.013077914901455,
170
+ "eval_loss": 1.0375442504882812,
171
+ "eval_runtime": 78.2473,
172
+ "eval_samples_per_second": 15.413,
173
+ "eval_steps_per_second": 1.93,
174
+ "step": 5500
175
+ },
176
+ {
177
+ "epoch": 1.1051759071652238,
178
+ "grad_norm": 105.91036987304688,
179
+ "learning_rate": 3.61853011604347e-08,
180
+ "loss": 0.2642,
181
+ "step": 6000
182
+ },
183
+ {
184
+ "epoch": 1.1051759071652238,
185
+ "eval_loss": 1.0233356952667236,
186
+ "eval_runtime": 78.3135,
187
+ "eval_samples_per_second": 15.4,
188
+ "eval_steps_per_second": 1.928,
189
+ "step": 6000
190
+ },
191
+ {
192
+ "epoch": 1.1972738994289924,
193
+ "grad_norm": 221.4896240234375,
194
+ "learning_rate": 3.503407625713759e-08,
195
+ "loss": 0.2066,
196
+ "step": 6500
197
+ },
198
+ {
199
+ "epoch": 1.1972738994289924,
200
+ "eval_loss": 1.0104238986968994,
201
+ "eval_runtime": 78.6485,
202
+ "eval_samples_per_second": 15.334,
203
+ "eval_steps_per_second": 1.92,
204
+ "step": 6500
205
+ },
206
+ {
207
+ "epoch": 1.289371891692761,
208
+ "grad_norm": 270.53253173828125,
209
+ "learning_rate": 3.3882851353840485e-08,
210
+ "loss": 0.2376,
211
+ "step": 7000
212
+ },
213
+ {
214
+ "epoch": 1.289371891692761,
215
+ "eval_loss": 0.998353898525238,
216
+ "eval_runtime": 78.5502,
217
+ "eval_samples_per_second": 15.353,
218
+ "eval_steps_per_second": 1.922,
219
+ "step": 7000
220
+ },
221
+ {
222
+ "epoch": 1.3814698839565298,
223
+ "grad_norm": 402.9339904785156,
224
+ "learning_rate": 3.2731626450543374e-08,
225
+ "loss": 0.1931,
226
+ "step": 7500
227
+ },
228
+ {
229
+ "epoch": 1.3814698839565298,
230
+ "eval_loss": 0.9887453317642212,
231
+ "eval_runtime": 78.4833,
232
+ "eval_samples_per_second": 15.366,
233
+ "eval_steps_per_second": 1.924,
234
+ "step": 7500
235
+ },
236
+ {
237
+ "epoch": 1.4735678762202984,
238
+ "grad_norm": 0.006355441175401211,
239
+ "learning_rate": 3.158040154724626e-08,
240
+ "loss": 0.2163,
241
+ "step": 8000
242
+ },
243
+ {
244
+ "epoch": 1.4735678762202984,
245
+ "eval_loss": 0.9767189621925354,
246
+ "eval_runtime": 78.5499,
247
+ "eval_samples_per_second": 15.353,
248
+ "eval_steps_per_second": 1.922,
249
+ "step": 8000
250
+ },
251
+ {
252
+ "epoch": 1.565665868484067,
253
+ "grad_norm": 0.12982100248336792,
254
+ "learning_rate": 3.042917664394916e-08,
255
+ "loss": 0.1903,
256
+ "step": 8500
257
+ },
258
+ {
259
+ "epoch": 1.565665868484067,
260
+ "eval_loss": 0.9664921760559082,
261
+ "eval_runtime": 78.6832,
262
+ "eval_samples_per_second": 15.327,
263
+ "eval_steps_per_second": 1.919,
264
+ "step": 8500
265
+ }
266
+ ],
267
+ "logging_steps": 500,
268
+ "max_steps": 21716,
269
+ "num_input_tokens_seen": 0,
270
+ "num_train_epochs": 4,
271
+ "save_steps": 500,
272
+ "stateful_callbacks": {
273
+ "TrainerControl": {
274
+ "args": {
275
+ "should_epoch_stop": false,
276
+ "should_evaluate": false,
277
+ "should_log": false,
278
+ "should_save": true,
279
+ "should_training_stop": false
280
+ },
281
+ "attributes": {}
282
+ }
283
+ },
284
+ "total_flos": 3058485623236890.0,
285
+ "train_batch_size": 2,
286
+ "trial_name": null,
287
+ "trial_params": null
288
+ }
checkpoint-8500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:417b0bacc3a8958dfa75621764230fb890db48c09ca241dff24e5264d406285b
3
+ size 4847