jennierub commited on
Commit
44bf2ab
·
1 Parent(s): bfe6da5

Add fine-tuned model

Browse files
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "langboat/bloom-389m-zh",
3
+ "apply_residual_connection_post_layernorm": false,
4
+ "architectures": [
5
+ "BloomForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "attention_softmax_in_fp32": true,
9
+ "bias_dropout_fusion": true,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "hidden_dropout": 0.0,
13
+ "hidden_size": 1024,
14
+ "initializer_range": 0.02,
15
+ "layer_norm_epsilon": 1e-05,
16
+ "masked_softmax_fusion": true,
17
+ "model_type": "bloom",
18
+ "n_head": 16,
19
+ "n_inner": null,
20
+ "n_layer": 24,
21
+ "offset_alibi": 100,
22
+ "pad_token_id": 3,
23
+ "pretraining_tp": 1,
24
+ "seq_length": 2048,
25
+ "skip_bias_add": true,
26
+ "skip_bias_add_qkv": false,
27
+ "slow_but_exact": false,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.44.2",
30
+ "unk_token_id": 0,
31
+ "use_cache": true,
32
+ "vocab_size": 42437
33
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 3,
6
+ "transformers_version": "4.44.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d266f190fcc32b71f8ebf7a6c8dd49130d0eeafa993998b44dca1cc73767534f
3
+ size 1383109776
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4db2ef60836bd106633bbaa9c20bc6d11ca101088dbd7bb59c3d8045e446aad6
3
+ size 2766396410
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386fcc8cc1089aade9450d86fb239ea3483f455fd2d78d8378645feecfec9d69
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf649bac0f2cfebbcf7fed3fb87fad328f4aea97a5892dffe764f4191f92f88c
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9984,
5
+ "eval_steps": 500,
6
+ "global_step": 312,
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.032,
13
+ "grad_norm": 35.32009506225586,
14
+ "learning_rate": 4.83974358974359e-05,
15
+ "loss": 3.9438,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.064,
20
+ "grad_norm": 81.18579864501953,
21
+ "learning_rate": 4.67948717948718e-05,
22
+ "loss": 3.9537,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.096,
27
+ "grad_norm": 32.88789749145508,
28
+ "learning_rate": 4.519230769230769e-05,
29
+ "loss": 4.0702,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.128,
34
+ "grad_norm": 16.556777954101562,
35
+ "learning_rate": 4.358974358974359e-05,
36
+ "loss": 3.8532,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.16,
41
+ "grad_norm": 10.234758377075195,
42
+ "learning_rate": 4.198717948717949e-05,
43
+ "loss": 3.7683,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.192,
48
+ "grad_norm": 1121.8642578125,
49
+ "learning_rate": 4.038461538461539e-05,
50
+ "loss": 3.8498,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.224,
55
+ "grad_norm": 422.935546875,
56
+ "learning_rate": 3.878205128205129e-05,
57
+ "loss": 4.8448,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.256,
62
+ "grad_norm": 885.9011840820312,
63
+ "learning_rate": 3.717948717948718e-05,
64
+ "loss": 5.3873,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.288,
69
+ "grad_norm": 9.224353790283203,
70
+ "learning_rate": 3.557692307692308e-05,
71
+ "loss": 4.8793,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.32,
76
+ "grad_norm": 7.631784915924072,
77
+ "learning_rate": 3.397435897435898e-05,
78
+ "loss": 3.8897,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.352,
83
+ "grad_norm": 6.077576637268066,
84
+ "learning_rate": 3.2371794871794876e-05,
85
+ "loss": 3.7135,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.384,
90
+ "grad_norm": 5.676390647888184,
91
+ "learning_rate": 3.0769230769230774e-05,
92
+ "loss": 3.6988,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.416,
97
+ "grad_norm": 5.851507663726807,
98
+ "learning_rate": 2.916666666666667e-05,
99
+ "loss": 3.6701,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.448,
104
+ "grad_norm": 7.7876362800598145,
105
+ "learning_rate": 2.756410256410257e-05,
106
+ "loss": 3.668,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.48,
111
+ "grad_norm": 5.508922100067139,
112
+ "learning_rate": 2.5961538461538464e-05,
113
+ "loss": 3.6795,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.512,
118
+ "grad_norm": 5.01690673828125,
119
+ "learning_rate": 2.435897435897436e-05,
120
+ "loss": 3.5582,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.544,
125
+ "grad_norm": 10.510420799255371,
126
+ "learning_rate": 2.2756410256410258e-05,
127
+ "loss": 3.592,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.576,
132
+ "grad_norm": 50.05154800415039,
133
+ "learning_rate": 2.1153846153846154e-05,
134
+ "loss": 3.5765,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.608,
139
+ "grad_norm": 266.8519287109375,
140
+ "learning_rate": 1.9551282051282052e-05,
141
+ "loss": 3.7085,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.64,
146
+ "grad_norm": 16487.71875,
147
+ "learning_rate": 1.794871794871795e-05,
148
+ "loss": 4.2035,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.672,
153
+ "grad_norm": 132328.34375,
154
+ "learning_rate": 1.6346153846153847e-05,
155
+ "loss": 4.9833,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.704,
160
+ "grad_norm": 116585.5546875,
161
+ "learning_rate": 1.4743589743589745e-05,
162
+ "loss": 5.4398,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.736,
167
+ "grad_norm": 49.177772521972656,
168
+ "learning_rate": 1.3141025641025642e-05,
169
+ "loss": 5.3455,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.768,
174
+ "grad_norm": 287.9832458496094,
175
+ "learning_rate": 1.153846153846154e-05,
176
+ "loss": 4.1649,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.8,
181
+ "grad_norm": 17.73406982421875,
182
+ "learning_rate": 9.935897435897435e-06,
183
+ "loss": 3.8618,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.832,
188
+ "grad_norm": 21.187644958496094,
189
+ "learning_rate": 8.333333333333334e-06,
190
+ "loss": 3.6718,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 0.864,
195
+ "grad_norm": 119.2005844116211,
196
+ "learning_rate": 6.730769230769231e-06,
197
+ "loss": 3.7159,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 0.896,
202
+ "grad_norm": 40.40868377685547,
203
+ "learning_rate": 5.128205128205128e-06,
204
+ "loss": 3.7839,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 0.928,
209
+ "grad_norm": 143.7291259765625,
210
+ "learning_rate": 3.525641025641026e-06,
211
+ "loss": 3.6802,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 0.96,
216
+ "grad_norm": 13.765769004821777,
217
+ "learning_rate": 1.9230769230769234e-06,
218
+ "loss": 3.7338,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 0.992,
223
+ "grad_norm": 12.183256149291992,
224
+ "learning_rate": 3.205128205128205e-07,
225
+ "loss": 3.7386,
226
+ "step": 310
227
+ }
228
+ ],
229
+ "logging_steps": 10,
230
+ "max_steps": 312,
231
+ "num_input_tokens_seen": 0,
232
+ "num_train_epochs": 1,
233
+ "save_steps": 500,
234
+ "stateful_callbacks": {
235
+ "TrainerControl": {
236
+ "args": {
237
+ "should_epoch_stop": false,
238
+ "should_evaluate": false,
239
+ "should_log": false,
240
+ "should_save": true,
241
+ "should_training_stop": true
242
+ },
243
+ "attributes": {}
244
+ }
245
+ },
246
+ "total_flos": 6702608917266432.0,
247
+ "train_batch_size": 4,
248
+ "trial_name": null,
249
+ "trial_params": null
250
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30fb119c0440412ce2b9fd4ca82dbc801b9a0efd84d57add746da33f60b5c1e0
3
+ size 5176