abovzv commited on
Commit
0dba846
1 Parent(s): 615bd33

upload model

Browse files
README.md CHANGED
@@ -1,3 +1,56 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - customized
6
+ model-index:
7
+ - name: finetune
8
+ results: []
9
  ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # finetune
15
+
16
+ This model is a fine-tuned version of [/root/autodl-tmp/sikong/repo/LMFlow/output_models/chinese-alpaca-7b-merged](https://huggingface.co//root/autodl-tmp/sikong/repo/LMFlow/output_models/chinese-alpaca-7b-merged) on the customized dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 2e-05
36
+ - train_batch_size: 2
37
+ - eval_batch_size: 8
38
+ - seed: 42
39
+ - distributed_type: multi-GPU
40
+ - num_devices: 4
41
+ - total_train_batch_size: 8
42
+ - total_eval_batch_size: 32
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 50.0
46
+
47
+ ### Training results
48
+
49
+
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.28.0.dev0
54
+ - Pytorch 2.0.0+cu117
55
+ - Datasets 2.10.1
56
+ - Tokenizers 0.13.3
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 50.0,
3
+ "train_loss": 0.17982604479789735,
4
+ "train_runtime": 23967.503,
5
+ "train_samples": 157,
6
+ "train_samples_per_second": 0.328,
7
+ "train_steps_per_second": 0.042
8
+ }
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/root/autodl-tmp/sikong/repo/LMFlow/output_models/chinese-alpaca-7b-merged",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 1,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 11008,
12
+ "max_position_embeddings": 2048,
13
+ "max_sequence_length": 2048,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "pad_token_id": -1,
18
+ "rms_norm_eps": 1e-06,
19
+ "tie_word_embeddings": false,
20
+ "torch_dtype": "bfloat16",
21
+ "transformers_version": "4.28.0.dev0",
22
+ "use_cache": true,
23
+ "vocab_size": 49954
24
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.28.0.dev0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b05b7586c6de5756f83c9a8c86641ff303c93e2515fdd1311422956345b71700
3
+ size 13771100601
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "[PAD]",
5
+ "unk_token": "<unk>"
6
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d967e855b1213a439df6c8ce2791f869c84b4f3b6cfacf22b86440b8192a2f8
3
+ size 757972
tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "__type": "AddedToken",
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "clean_up_tokenization_spaces": false,
11
+ "eos_token": {
12
+ "__type": "AddedToken",
13
+ "content": "</s>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "model_max_length": 1000000000000000019884624838656,
20
+ "pad_token": null,
21
+ "special_tokens_map_file": "/root/autodl-tmp/sikong/repo/LMFlow/output_models/chinese-alpaca-7b-merged/special_tokens_map.json",
22
+ "tokenizer_class": "LlamaTokenizer",
23
+ "unk_token": {
24
+ "__type": "AddedToken",
25
+ "content": "<unk>",
26
+ "lstrip": false,
27
+ "normalized": true,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 50.0,
3
+ "train_loss": 0.17982604479789735,
4
+ "train_runtime": 23967.503,
5
+ "train_samples": 157,
6
+ "train_samples_per_second": 0.328,
7
+ "train_steps_per_second": 0.042
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 50.0,
5
+ "global_step": 1000,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "learning_rate": 1.9600000000000002e-05,
13
+ "loss": 3.169,
14
+ "step": 20
15
+ },
16
+ {
17
+ "epoch": 2.0,
18
+ "learning_rate": 1.9200000000000003e-05,
19
+ "loss": 1.9924,
20
+ "step": 40
21
+ },
22
+ {
23
+ "epoch": 3.0,
24
+ "learning_rate": 1.88e-05,
25
+ "loss": 0.9846,
26
+ "step": 60
27
+ },
28
+ {
29
+ "epoch": 4.0,
30
+ "learning_rate": 1.8400000000000003e-05,
31
+ "loss": 0.3159,
32
+ "step": 80
33
+ },
34
+ {
35
+ "epoch": 5.0,
36
+ "learning_rate": 1.8e-05,
37
+ "loss": 0.1231,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 6.0,
42
+ "learning_rate": 1.76e-05,
43
+ "loss": 0.0848,
44
+ "step": 120
45
+ },
46
+ {
47
+ "epoch": 7.0,
48
+ "learning_rate": 1.72e-05,
49
+ "loss": 0.0536,
50
+ "step": 140
51
+ },
52
+ {
53
+ "epoch": 8.0,
54
+ "learning_rate": 1.6800000000000002e-05,
55
+ "loss": 0.0381,
56
+ "step": 160
57
+ },
58
+ {
59
+ "epoch": 9.0,
60
+ "learning_rate": 1.64e-05,
61
+ "loss": 0.0339,
62
+ "step": 180
63
+ },
64
+ {
65
+ "epoch": 10.0,
66
+ "learning_rate": 1.6000000000000003e-05,
67
+ "loss": 0.0222,
68
+ "step": 200
69
+ },
70
+ {
71
+ "epoch": 11.0,
72
+ "learning_rate": 1.5600000000000003e-05,
73
+ "loss": 0.0214,
74
+ "step": 220
75
+ },
76
+ {
77
+ "epoch": 12.0,
78
+ "learning_rate": 1.5200000000000002e-05,
79
+ "loss": 0.0836,
80
+ "step": 240
81
+ },
82
+ {
83
+ "epoch": 13.0,
84
+ "learning_rate": 1.48e-05,
85
+ "loss": 0.0851,
86
+ "step": 260
87
+ },
88
+ {
89
+ "epoch": 14.0,
90
+ "learning_rate": 1.4400000000000001e-05,
91
+ "loss": 0.1763,
92
+ "step": 280
93
+ },
94
+ {
95
+ "epoch": 15.0,
96
+ "learning_rate": 1.4e-05,
97
+ "loss": 0.113,
98
+ "step": 300
99
+ },
100
+ {
101
+ "epoch": 16.0,
102
+ "learning_rate": 1.3600000000000002e-05,
103
+ "loss": 0.1091,
104
+ "step": 320
105
+ },
106
+ {
107
+ "epoch": 17.0,
108
+ "learning_rate": 1.3200000000000002e-05,
109
+ "loss": 0.0988,
110
+ "step": 340
111
+ },
112
+ {
113
+ "epoch": 18.0,
114
+ "learning_rate": 1.2800000000000001e-05,
115
+ "loss": 0.1031,
116
+ "step": 360
117
+ },
118
+ {
119
+ "epoch": 19.0,
120
+ "learning_rate": 1.2400000000000002e-05,
121
+ "loss": 0.0878,
122
+ "step": 380
123
+ },
124
+ {
125
+ "epoch": 20.0,
126
+ "learning_rate": 1.2e-05,
127
+ "loss": 0.1203,
128
+ "step": 400
129
+ },
130
+ {
131
+ "epoch": 21.0,
132
+ "learning_rate": 1.16e-05,
133
+ "loss": 0.0863,
134
+ "step": 420
135
+ },
136
+ {
137
+ "epoch": 22.0,
138
+ "learning_rate": 1.1200000000000001e-05,
139
+ "loss": 0.081,
140
+ "step": 440
141
+ },
142
+ {
143
+ "epoch": 23.0,
144
+ "learning_rate": 1.0800000000000002e-05,
145
+ "loss": 0.0763,
146
+ "step": 460
147
+ },
148
+ {
149
+ "epoch": 24.0,
150
+ "learning_rate": 1.04e-05,
151
+ "loss": 0.0792,
152
+ "step": 480
153
+ },
154
+ {
155
+ "epoch": 25.0,
156
+ "learning_rate": 1e-05,
157
+ "loss": 0.0726,
158
+ "step": 500
159
+ },
160
+ {
161
+ "epoch": 26.0,
162
+ "learning_rate": 9.600000000000001e-06,
163
+ "loss": 0.0687,
164
+ "step": 520
165
+ },
166
+ {
167
+ "epoch": 27.0,
168
+ "learning_rate": 9.200000000000002e-06,
169
+ "loss": 0.0776,
170
+ "step": 540
171
+ },
172
+ {
173
+ "epoch": 28.0,
174
+ "learning_rate": 8.8e-06,
175
+ "loss": 0.0692,
176
+ "step": 560
177
+ },
178
+ {
179
+ "epoch": 29.0,
180
+ "learning_rate": 8.400000000000001e-06,
181
+ "loss": 0.067,
182
+ "step": 580
183
+ },
184
+ {
185
+ "epoch": 30.0,
186
+ "learning_rate": 8.000000000000001e-06,
187
+ "loss": 0.0632,
188
+ "step": 600
189
+ },
190
+ {
191
+ "epoch": 31.0,
192
+ "learning_rate": 7.600000000000001e-06,
193
+ "loss": 0.0662,
194
+ "step": 620
195
+ },
196
+ {
197
+ "epoch": 32.0,
198
+ "learning_rate": 7.2000000000000005e-06,
199
+ "loss": 0.062,
200
+ "step": 640
201
+ },
202
+ {
203
+ "epoch": 33.0,
204
+ "learning_rate": 6.800000000000001e-06,
205
+ "loss": 0.0594,
206
+ "step": 660
207
+ },
208
+ {
209
+ "epoch": 34.0,
210
+ "learning_rate": 6.4000000000000006e-06,
211
+ "loss": 0.0598,
212
+ "step": 680
213
+ },
214
+ {
215
+ "epoch": 35.0,
216
+ "learning_rate": 6e-06,
217
+ "loss": 0.0544,
218
+ "step": 700
219
+ },
220
+ {
221
+ "epoch": 36.0,
222
+ "learning_rate": 5.600000000000001e-06,
223
+ "loss": 0.0532,
224
+ "step": 720
225
+ },
226
+ {
227
+ "epoch": 37.0,
228
+ "learning_rate": 5.2e-06,
229
+ "loss": 0.0179,
230
+ "step": 740
231
+ },
232
+ {
233
+ "epoch": 38.0,
234
+ "learning_rate": 4.800000000000001e-06,
235
+ "loss": 0.0129,
236
+ "step": 760
237
+ },
238
+ {
239
+ "epoch": 39.0,
240
+ "learning_rate": 4.4e-06,
241
+ "loss": 0.0077,
242
+ "step": 780
243
+ },
244
+ {
245
+ "epoch": 40.0,
246
+ "learning_rate": 4.000000000000001e-06,
247
+ "loss": 0.0069,
248
+ "step": 800
249
+ },
250
+ {
251
+ "epoch": 41.0,
252
+ "learning_rate": 3.6000000000000003e-06,
253
+ "loss": 0.004,
254
+ "step": 820
255
+ },
256
+ {
257
+ "epoch": 42.0,
258
+ "learning_rate": 3.2000000000000003e-06,
259
+ "loss": 0.016,
260
+ "step": 840
261
+ },
262
+ {
263
+ "epoch": 43.0,
264
+ "learning_rate": 2.8000000000000003e-06,
265
+ "loss": 0.0025,
266
+ "step": 860
267
+ },
268
+ {
269
+ "epoch": 44.0,
270
+ "learning_rate": 2.4000000000000003e-06,
271
+ "loss": 0.0025,
272
+ "step": 880
273
+ },
274
+ {
275
+ "epoch": 45.0,
276
+ "learning_rate": 2.0000000000000003e-06,
277
+ "loss": 0.0017,
278
+ "step": 900
279
+ },
280
+ {
281
+ "epoch": 46.0,
282
+ "learning_rate": 1.6000000000000001e-06,
283
+ "loss": 0.0016,
284
+ "step": 920
285
+ },
286
+ {
287
+ "epoch": 47.0,
288
+ "learning_rate": 1.2000000000000002e-06,
289
+ "loss": 0.0015,
290
+ "step": 940
291
+ },
292
+ {
293
+ "epoch": 48.0,
294
+ "learning_rate": 8.000000000000001e-07,
295
+ "loss": 0.0014,
296
+ "step": 960
297
+ },
298
+ {
299
+ "epoch": 49.0,
300
+ "learning_rate": 4.0000000000000003e-07,
301
+ "loss": 0.0014,
302
+ "step": 980
303
+ },
304
+ {
305
+ "epoch": 50.0,
306
+ "learning_rate": 0.0,
307
+ "loss": 0.0014,
308
+ "step": 1000
309
+ },
310
+ {
311
+ "epoch": 50.0,
312
+ "step": 1000,
313
+ "total_flos": 6536571125760.0,
314
+ "train_loss": 0.17982604479789735,
315
+ "train_runtime": 23967.503,
316
+ "train_samples_per_second": 0.328,
317
+ "train_steps_per_second": 0.042
318
+ }
319
+ ],
320
+ "max_steps": 1000,
321
+ "num_train_epochs": 50,
322
+ "total_flos": 6536571125760.0,
323
+ "trial_name": null,
324
+ "trial_params": null
325
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfbc3f73b407f68906184e0045c7e30c036eeea00fedac53f0342ff41b56d6c4
3
+ size 4923