kevinoli commited on
Commit
b538ac9
1 Parent(s): c82a5c3

Training in progress, step 10500, checkpoint

Browse files
checkpoint-10500/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-10500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9dba5c75bad9455fe98e43c5005b605b5b2d7a299cda59b041791e01e9054cf
3
+ size 1711848436
checkpoint-10500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9e754a90df008b8b94d8d96d5d54e40260fd4345d17df572bd870dc128eb878
3
+ size 3424043887
checkpoint-10500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9be3731bd45b68aa3495049ac193f5be0636ae23217b87c22e9387c9699e277
3
+ size 14503
checkpoint-10500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e9c2bf54ade5566e2be2a736557757c3ad462283e4d06aaf771f8098fe5f54d
3
+ size 623
checkpoint-10500/trainer_state.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.3744733333587646,
3
+ "best_model_checkpoint": "./output/clip-finetuned-csu-p14-336-e4l59-l/checkpoint-10500",
4
+ "epoch": 1.9344141488577744,
5
+ "eval_steps": 500,
6
+ "global_step": 10500,
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.09211495946941783,
13
+ "grad_norm": 20.952665328979492,
14
+ "learning_rate": 4.884856300663228e-09,
15
+ "loss": 0.3952,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.09211495946941783,
20
+ "eval_loss": 1.4940427541732788,
21
+ "eval_runtime": 73.9282,
22
+ "eval_samples_per_second": 16.327,
23
+ "eval_steps_per_second": 2.043,
24
+ "step": 500
25
+ },
26
+ {
27
+ "epoch": 0.18422991893883567,
28
+ "grad_norm": 59.28666687011719,
29
+ "learning_rate": 4.769712601326456e-09,
30
+ "loss": 0.4562,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 0.18422991893883567,
35
+ "eval_loss": 1.4853259325027466,
36
+ "eval_runtime": 74.6533,
37
+ "eval_samples_per_second": 16.168,
38
+ "eval_steps_per_second": 2.023,
39
+ "step": 1000
40
+ },
41
+ {
42
+ "epoch": 0.2763448784082535,
43
+ "grad_norm": 1.179814338684082,
44
+ "learning_rate": 4.654568901989683e-09,
45
+ "loss": 0.5131,
46
+ "step": 1500
47
+ },
48
+ {
49
+ "epoch": 0.2763448784082535,
50
+ "eval_loss": 1.4757832288742065,
51
+ "eval_runtime": 76.2866,
52
+ "eval_samples_per_second": 15.822,
53
+ "eval_steps_per_second": 1.979,
54
+ "step": 1500
55
+ },
56
+ {
57
+ "epoch": 0.36845983787767134,
58
+ "grad_norm": 0.900991678237915,
59
+ "learning_rate": 4.5394252026529105e-09,
60
+ "loss": 0.4481,
61
+ "step": 2000
62
+ },
63
+ {
64
+ "epoch": 0.36845983787767134,
65
+ "eval_loss": 1.4675536155700684,
66
+ "eval_runtime": 75.9348,
67
+ "eval_samples_per_second": 15.895,
68
+ "eval_steps_per_second": 1.989,
69
+ "step": 2000
70
+ },
71
+ {
72
+ "epoch": 0.46057479734708917,
73
+ "grad_norm": 346.93853759765625,
74
+ "learning_rate": 4.424281503316139e-09,
75
+ "loss": 0.4839,
76
+ "step": 2500
77
+ },
78
+ {
79
+ "epoch": 0.46057479734708917,
80
+ "eval_loss": 1.4585391283035278,
81
+ "eval_runtime": 76.7708,
82
+ "eval_samples_per_second": 15.722,
83
+ "eval_steps_per_second": 1.967,
84
+ "step": 2500
85
+ },
86
+ {
87
+ "epoch": 0.552689756816507,
88
+ "grad_norm": 318.47515869140625,
89
+ "learning_rate": 4.3091378039793666e-09,
90
+ "loss": 0.4377,
91
+ "step": 3000
92
+ },
93
+ {
94
+ "epoch": 0.552689756816507,
95
+ "eval_loss": 1.4507631063461304,
96
+ "eval_runtime": 76.5424,
97
+ "eval_samples_per_second": 15.769,
98
+ "eval_steps_per_second": 1.973,
99
+ "step": 3000
100
+ },
101
+ {
102
+ "epoch": 0.6448047162859248,
103
+ "grad_norm": 112.41814422607422,
104
+ "learning_rate": 4.193994104642594e-09,
105
+ "loss": 0.4231,
106
+ "step": 3500
107
+ },
108
+ {
109
+ "epoch": 0.6448047162859248,
110
+ "eval_loss": 1.4432125091552734,
111
+ "eval_runtime": 76.4812,
112
+ "eval_samples_per_second": 15.782,
113
+ "eval_steps_per_second": 1.974,
114
+ "step": 3500
115
+ },
116
+ {
117
+ "epoch": 0.7369196757553427,
118
+ "grad_norm": 83.51781463623047,
119
+ "learning_rate": 4.078850405305822e-09,
120
+ "loss": 0.4369,
121
+ "step": 4000
122
+ },
123
+ {
124
+ "epoch": 0.7369196757553427,
125
+ "eval_loss": 1.4365661144256592,
126
+ "eval_runtime": 76.4405,
127
+ "eval_samples_per_second": 15.79,
128
+ "eval_steps_per_second": 1.975,
129
+ "step": 4000
130
+ },
131
+ {
132
+ "epoch": 0.8290346352247605,
133
+ "grad_norm": 460.5648498535156,
134
+ "learning_rate": 3.963706705969049e-09,
135
+ "loss": 0.4082,
136
+ "step": 4500
137
+ },
138
+ {
139
+ "epoch": 0.8290346352247605,
140
+ "eval_loss": 1.4302303791046143,
141
+ "eval_runtime": 75.042,
142
+ "eval_samples_per_second": 16.084,
143
+ "eval_steps_per_second": 2.012,
144
+ "step": 4500
145
+ },
146
+ {
147
+ "epoch": 0.9211495946941783,
148
+ "grad_norm": 5.289137363433838,
149
+ "learning_rate": 3.848563006632278e-09,
150
+ "loss": 0.4234,
151
+ "step": 5000
152
+ },
153
+ {
154
+ "epoch": 0.9211495946941783,
155
+ "eval_loss": 1.4243344068527222,
156
+ "eval_runtime": 76.6198,
157
+ "eval_samples_per_second": 15.753,
158
+ "eval_steps_per_second": 1.971,
159
+ "step": 5000
160
+ },
161
+ {
162
+ "epoch": 1.013264554163596,
163
+ "grad_norm": 0.6147650480270386,
164
+ "learning_rate": 3.733419307295505e-09,
165
+ "loss": 0.4266,
166
+ "step": 5500
167
+ },
168
+ {
169
+ "epoch": 1.013264554163596,
170
+ "eval_loss": 1.4190788269042969,
171
+ "eval_runtime": 75.4536,
172
+ "eval_samples_per_second": 15.997,
173
+ "eval_steps_per_second": 2.001,
174
+ "step": 5500
175
+ },
176
+ {
177
+ "epoch": 1.105379513633014,
178
+ "grad_norm": 231.71815490722656,
179
+ "learning_rate": 3.6182756079587326e-09,
180
+ "loss": 0.4438,
181
+ "step": 6000
182
+ },
183
+ {
184
+ "epoch": 1.105379513633014,
185
+ "eval_loss": 1.4136912822723389,
186
+ "eval_runtime": 76.5978,
187
+ "eval_samples_per_second": 15.758,
188
+ "eval_steps_per_second": 1.971,
189
+ "step": 6000
190
+ },
191
+ {
192
+ "epoch": 1.1974944731024317,
193
+ "grad_norm": 464.0763854980469,
194
+ "learning_rate": 3.5031319086219602e-09,
195
+ "loss": 0.3814,
196
+ "step": 6500
197
+ },
198
+ {
199
+ "epoch": 1.1974944731024317,
200
+ "eval_loss": 1.4085203409194946,
201
+ "eval_runtime": 75.4916,
202
+ "eval_samples_per_second": 15.989,
203
+ "eval_steps_per_second": 2.0,
204
+ "step": 6500
205
+ },
206
+ {
207
+ "epoch": 1.2896094325718497,
208
+ "grad_norm": 2.5053436756134033,
209
+ "learning_rate": 3.3879882092851882e-09,
210
+ "loss": 0.3327,
211
+ "step": 7000
212
+ },
213
+ {
214
+ "epoch": 1.2896094325718497,
215
+ "eval_loss": 1.4041872024536133,
216
+ "eval_runtime": 75.2076,
217
+ "eval_samples_per_second": 16.049,
218
+ "eval_steps_per_second": 2.008,
219
+ "step": 7000
220
+ },
221
+ {
222
+ "epoch": 1.3817243920412676,
223
+ "grad_norm": 126.44642639160156,
224
+ "learning_rate": 3.2728445099484154e-09,
225
+ "loss": 0.4045,
226
+ "step": 7500
227
+ },
228
+ {
229
+ "epoch": 1.3817243920412676,
230
+ "eval_loss": 1.398864984512329,
231
+ "eval_runtime": 75.3652,
232
+ "eval_samples_per_second": 16.015,
233
+ "eval_steps_per_second": 2.004,
234
+ "step": 7500
235
+ },
236
+ {
237
+ "epoch": 1.4738393515106853,
238
+ "grad_norm": 1.046550989151001,
239
+ "learning_rate": 3.1577008106116435e-09,
240
+ "loss": 0.4038,
241
+ "step": 8000
242
+ },
243
+ {
244
+ "epoch": 1.4738393515106853,
245
+ "eval_loss": 1.3937218189239502,
246
+ "eval_runtime": 75.1378,
247
+ "eval_samples_per_second": 16.064,
248
+ "eval_steps_per_second": 2.01,
249
+ "step": 8000
250
+ },
251
+ {
252
+ "epoch": 1.565954310980103,
253
+ "grad_norm": 212.23594665527344,
254
+ "learning_rate": 3.042557111274871e-09,
255
+ "loss": 0.3659,
256
+ "step": 8500
257
+ },
258
+ {
259
+ "epoch": 1.565954310980103,
260
+ "eval_loss": 1.3894429206848145,
261
+ "eval_runtime": 75.2403,
262
+ "eval_samples_per_second": 16.042,
263
+ "eval_steps_per_second": 2.007,
264
+ "step": 8500
265
+ },
266
+ {
267
+ "epoch": 1.658069270449521,
268
+ "grad_norm": 2.719074010848999,
269
+ "learning_rate": 2.927413411938099e-09,
270
+ "loss": 0.4282,
271
+ "step": 9000
272
+ },
273
+ {
274
+ "epoch": 1.658069270449521,
275
+ "eval_loss": 1.3854893445968628,
276
+ "eval_runtime": 74.8392,
277
+ "eval_samples_per_second": 16.128,
278
+ "eval_steps_per_second": 2.018,
279
+ "step": 9000
280
+ },
281
+ {
282
+ "epoch": 1.750184229918939,
283
+ "grad_norm": 4.810174465179443,
284
+ "learning_rate": 2.8122697126013263e-09,
285
+ "loss": 0.4173,
286
+ "step": 9500
287
+ },
288
+ {
289
+ "epoch": 1.750184229918939,
290
+ "eval_loss": 1.3816269636154175,
291
+ "eval_runtime": 75.6136,
292
+ "eval_samples_per_second": 15.963,
293
+ "eval_steps_per_second": 1.997,
294
+ "step": 9500
295
+ },
296
+ {
297
+ "epoch": 1.8422991893883567,
298
+ "grad_norm": 630.7271118164062,
299
+ "learning_rate": 2.6971260132645543e-09,
300
+ "loss": 0.3758,
301
+ "step": 10000
302
+ },
303
+ {
304
+ "epoch": 1.8422991893883567,
305
+ "eval_loss": 1.3779022693634033,
306
+ "eval_runtime": 76.6948,
307
+ "eval_samples_per_second": 15.738,
308
+ "eval_steps_per_second": 1.969,
309
+ "step": 10000
310
+ },
311
+ {
312
+ "epoch": 1.9344141488577744,
313
+ "grad_norm": 3.372347831726074,
314
+ "learning_rate": 2.581982313927782e-09,
315
+ "loss": 0.4105,
316
+ "step": 10500
317
+ },
318
+ {
319
+ "epoch": 1.9344141488577744,
320
+ "eval_loss": 1.3744733333587646,
321
+ "eval_runtime": 76.3833,
322
+ "eval_samples_per_second": 15.802,
323
+ "eval_steps_per_second": 1.977,
324
+ "step": 10500
325
+ }
326
+ ],
327
+ "logging_steps": 500,
328
+ "max_steps": 21712,
329
+ "num_input_tokens_seen": 0,
330
+ "num_train_epochs": 4,
331
+ "save_steps": 500,
332
+ "stateful_callbacks": {
333
+ "TrainerControl": {
334
+ "args": {
335
+ "should_epoch_stop": false,
336
+ "should_evaluate": false,
337
+ "should_log": false,
338
+ "should_save": true,
339
+ "should_training_stop": false
340
+ },
341
+ "attributes": {}
342
+ }
343
+ },
344
+ "total_flos": 3778182204932520.0,
345
+ "train_batch_size": 2,
346
+ "trial_name": null,
347
+ "trial_params": null
348
+ }
checkpoint-10500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17dd82d53ab261b7081e3e93503b374d907fea92ca3e505d0ff1319c5765d331
3
+ size 4847