Dylan2048 commited on
Commit
f7e995c
1 Parent(s): 37ce5d3

first commit

Browse files
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/storage/home/lanzhenzhongLab/zhangdehao/zhf/chai_comp/models/gpt2-large",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 1280,
16
+ "n_head": 20,
17
+ "n_inner": null,
18
+ "n_layer": 36,
19
+ "n_positions": 1024,
20
+ "pad_token_id": 50256,
21
+ "problem_type": "single_label_classification",
22
+ "reorder_and_upcast_attn": false,
23
+ "resid_pdrop": 0.1,
24
+ "scale_attn_by_inverse_layer_idx": false,
25
+ "scale_attn_weights": true,
26
+ "summary_activation": null,
27
+ "summary_first_dropout": 0.1,
28
+ "summary_proj_to_labels": true,
29
+ "summary_type": "cls_index",
30
+ "summary_use_proj": true,
31
+ "task_specific_params": {
32
+ "text-generation": {
33
+ "do_sample": true,
34
+ "max_length": 50
35
+ }
36
+ },
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.32.1",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c54a1a7e9b2f1313d0e61b81166a1319927935dfa8476e6ccca839903c81497e
3
+ size 6192647080
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae581880dd36b69d5f887b47e6a82a3a45d47a1f8c3f4b804f4c1da1ee1d89df
3
+ size 3096273121
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:353ce3df92348488add6809f4e35755bcb5a2364aceb26b8552b90be899d7030
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f2d93482d5b046682703c1f3c64750e0408dd35134d17343c0f184de1b55630
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "model_max_length": 1000000000000000019884624838656,
7
+ "tokenizer_class": "GPT2Tokenizer",
8
+ "unk_token": "<|endoftext|>"
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.9929780131230572,
5
+ "eval_steps": 500,
6
+ "global_step": 26000,
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.06,
13
+ "learning_rate": 9.99092041233887e-05,
14
+ "loss": 0.6515,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.12,
19
+ "learning_rate": 9.963714624920319e-05,
20
+ "loss": 0.6374,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.17,
25
+ "learning_rate": 9.918481444677047e-05,
26
+ "loss": 0.6399,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 0.23,
31
+ "learning_rate": 9.855385151059141e-05,
32
+ "loss": 0.6424,
33
+ "step": 2000
34
+ },
35
+ {
36
+ "epoch": 0.29,
37
+ "learning_rate": 9.774654899398198e-05,
38
+ "loss": 0.6391,
39
+ "step": 2500
40
+ },
41
+ {
42
+ "epoch": 0.35,
43
+ "learning_rate": 9.676583888652963e-05,
44
+ "loss": 0.6313,
45
+ "step": 3000
46
+ },
47
+ {
48
+ "epoch": 0.4,
49
+ "learning_rate": 9.561528296559068e-05,
50
+ "loss": 0.6355,
51
+ "step": 3500
52
+ },
53
+ {
54
+ "epoch": 0.46,
55
+ "learning_rate": 9.429905986050238e-05,
56
+ "loss": 0.6304,
57
+ "step": 4000
58
+ },
59
+ {
60
+ "epoch": 0.52,
61
+ "learning_rate": 9.282194987649045e-05,
62
+ "loss": 0.6256,
63
+ "step": 4500
64
+ },
65
+ {
66
+ "epoch": 0.58,
67
+ "learning_rate": 9.118931763338888e-05,
68
+ "loss": 0.6269,
69
+ "step": 5000
70
+ },
71
+ {
72
+ "epoch": 0.63,
73
+ "learning_rate": 8.94070925822255e-05,
74
+ "loss": 0.6306,
75
+ "step": 5500
76
+ },
77
+ {
78
+ "epoch": 0.69,
79
+ "learning_rate": 8.748174747043391e-05,
80
+ "loss": 0.6237,
81
+ "step": 6000
82
+ },
83
+ {
84
+ "epoch": 0.75,
85
+ "learning_rate": 8.542027483390225e-05,
86
+ "loss": 0.6325,
87
+ "step": 6500
88
+ },
89
+ {
90
+ "epoch": 0.81,
91
+ "learning_rate": 8.323016160123629e-05,
92
+ "loss": 0.6266,
93
+ "step": 7000
94
+ },
95
+ {
96
+ "epoch": 0.86,
97
+ "learning_rate": 8.091936190246954e-05,
98
+ "loss": 0.6261,
99
+ "step": 7500
100
+ },
101
+ {
102
+ "epoch": 0.92,
103
+ "learning_rate": 7.849626818097493e-05,
104
+ "loss": 0.6282,
105
+ "step": 8000
106
+ },
107
+ {
108
+ "epoch": 0.98,
109
+ "learning_rate": 7.596968071349464e-05,
110
+ "loss": 0.6271,
111
+ "step": 8500
112
+ },
113
+ {
114
+ "epoch": 1.04,
115
+ "learning_rate": 7.334877564898644e-05,
116
+ "loss": 0.6232,
117
+ "step": 9000
118
+ },
119
+ {
120
+ "epoch": 1.09,
121
+ "learning_rate": 7.064307168236421e-05,
122
+ "loss": 0.6224,
123
+ "step": 9500
124
+ },
125
+ {
126
+ "epoch": 1.15,
127
+ "learning_rate": 6.786239548416799e-05,
128
+ "loss": 0.6247,
129
+ "step": 10000
130
+ },
131
+ {
132
+ "epoch": 1.21,
133
+ "learning_rate": 6.501684601171727e-05,
134
+ "loss": 0.6238,
135
+ "step": 10500
136
+ },
137
+ {
138
+ "epoch": 1.27,
139
+ "learning_rate": 6.21167578313637e-05,
140
+ "loss": 0.628,
141
+ "step": 11000
142
+ },
143
+ {
144
+ "epoch": 1.32,
145
+ "learning_rate": 5.917266358505073e-05,
146
+ "loss": 0.6267,
147
+ "step": 11500
148
+ },
149
+ {
150
+ "epoch": 1.38,
151
+ "learning_rate": 5.6195255737495125e-05,
152
+ "loss": 0.6285,
153
+ "step": 12000
154
+ },
155
+ {
156
+ "epoch": 1.44,
157
+ "learning_rate": 5.319534774291885e-05,
158
+ "loss": 0.6285,
159
+ "step": 12500
160
+ },
161
+ {
162
+ "epoch": 1.5,
163
+ "learning_rate": 5.0183834772366734e-05,
164
+ "loss": 0.6246,
165
+ "step": 13000
166
+ },
167
+ {
168
+ "epoch": 1.55,
169
+ "learning_rate": 4.7171654144242266e-05,
170
+ "loss": 0.628,
171
+ "step": 13500
172
+ },
173
+ {
174
+ "epoch": 1.61,
175
+ "learning_rate": 4.416974560177112e-05,
176
+ "loss": 0.6276,
177
+ "step": 14000
178
+ },
179
+ {
180
+ "epoch": 1.67,
181
+ "learning_rate": 4.1189011581658147e-05,
182
+ "loss": 0.6284,
183
+ "step": 14500
184
+ },
185
+ {
186
+ "epoch": 1.73,
187
+ "learning_rate": 3.82402776182354e-05,
188
+ "loss": 0.6242,
189
+ "step": 15000
190
+ },
191
+ {
192
+ "epoch": 1.78,
193
+ "learning_rate": 3.5334253026906946e-05,
194
+ "loss": 0.6222,
195
+ "step": 15500
196
+ },
197
+ {
198
+ "epoch": 1.84,
199
+ "learning_rate": 3.248149200968176e-05,
200
+ "loss": 0.6241,
201
+ "step": 16000
202
+ },
203
+ {
204
+ "epoch": 1.9,
205
+ "learning_rate": 2.969235532405272e-05,
206
+ "loss": 0.6145,
207
+ "step": 16500
208
+ },
209
+ {
210
+ "epoch": 1.96,
211
+ "learning_rate": 2.6976972654434195e-05,
212
+ "loss": 0.6181,
213
+ "step": 17000
214
+ },
215
+ {
216
+ "epoch": 2.01,
217
+ "learning_rate": 2.434520582281914e-05,
218
+ "loss": 0.6257,
219
+ "step": 17500
220
+ },
221
+ {
222
+ "epoch": 2.07,
223
+ "learning_rate": 2.1806612972268065e-05,
224
+ "loss": 0.6167,
225
+ "step": 18000
226
+ },
227
+ {
228
+ "epoch": 2.13,
229
+ "learning_rate": 1.9370413853309972e-05,
230
+ "loss": 0.6208,
231
+ "step": 18500
232
+ },
233
+ {
234
+ "epoch": 2.19,
235
+ "learning_rate": 1.7045456339329084e-05,
236
+ "loss": 0.6162,
237
+ "step": 19000
238
+ },
239
+ {
240
+ "epoch": 2.24,
241
+ "learning_rate": 1.4840184292548053e-05,
242
+ "loss": 0.6118,
243
+ "step": 19500
244
+ },
245
+ {
246
+ "epoch": 2.3,
247
+ "learning_rate": 1.2762606897313006e-05,
248
+ "loss": 0.6155,
249
+ "step": 20000
250
+ },
251
+ {
252
+ "epoch": 2.36,
253
+ "learning_rate": 1.0820269572057097e-05,
254
+ "loss": 0.6208,
255
+ "step": 20500
256
+ },
257
+ {
258
+ "epoch": 2.42,
259
+ "learning_rate": 9.020226565585154e-06,
260
+ "loss": 0.6152,
261
+ "step": 21000
262
+ },
263
+ {
264
+ "epoch": 2.47,
265
+ "learning_rate": 7.36901533720562e-06,
266
+ "loss": 0.6135,
267
+ "step": 21500
268
+ },
269
+ {
270
+ "epoch": 2.53,
271
+ "learning_rate": 5.87263281375654e-06,
272
+ "loss": 0.6098,
273
+ "step": 22000
274
+ },
275
+ {
276
+ "epoch": 2.59,
277
+ "learning_rate": 4.536513609756426e-06,
278
+ "loss": 0.6157,
279
+ "step": 22500
280
+ },
281
+ {
282
+ "epoch": 2.65,
283
+ "learning_rate": 3.365510289780621e-06,
284
+ "loss": 0.6156,
285
+ "step": 23000
286
+ },
287
+ {
288
+ "epoch": 2.71,
289
+ "learning_rate": 2.3638757447472237e-06,
290
+ "loss": 0.6143,
291
+ "step": 23500
292
+ },
293
+ {
294
+ "epoch": 2.76,
295
+ "learning_rate": 1.535247746118651e-06,
296
+ "loss": 0.6206,
297
+ "step": 24000
298
+ },
299
+ {
300
+ "epoch": 2.82,
301
+ "learning_rate": 8.826357341157054e-07,
302
+ "loss": 0.6161,
303
+ "step": 24500
304
+ },
305
+ {
306
+ "epoch": 2.88,
307
+ "learning_rate": 4.084098879270637e-07,
308
+ "loss": 0.6193,
309
+ "step": 25000
310
+ },
311
+ {
312
+ "epoch": 2.94,
313
+ "learning_rate": 1.1429251760938231e-07,
314
+ "loss": 0.6147,
315
+ "step": 25500
316
+ },
317
+ {
318
+ "epoch": 2.99,
319
+ "learning_rate": 1.3518089412467572e-09,
320
+ "loss": 0.6172,
321
+ "step": 26000
322
+ }
323
+ ],
324
+ "logging_steps": 500,
325
+ "max_steps": 26061,
326
+ "num_train_epochs": 3,
327
+ "save_steps": 500,
328
+ "total_flos": 3.6163640128943923e+18,
329
+ "trial_name": null,
330
+ "trial_params": null
331
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9418862752f4b58786017dd945b3031896eb0d50f0b350f7aa640c34671c60f2
3
+ size 4091
vocab.json ADDED
The diff for this file is too large to render. See raw diff