tyzhu commited on
Commit
84e06b3
1 Parent(s): 88d7195

Training in progress, epoch 6, checkpoint

Browse files
checkpoint-1500/adapter_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "auto_mapping": null,
3
- "base_model_name_or_path": "Qwen/Qwen1.5-4B",
4
  "bias": "none",
5
  "fan_in_fan_out": false,
6
  "inference_mode": true,
 
1
  {
2
  "auto_mapping": null,
3
+ "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
4
  "bias": "none",
5
  "fan_in_fan_out": false,
6
  "inference_mode": true,
checkpoint-1500/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:532edfdb406c6e5b463475cb8f8f1b728570a7e658d0f3db58334c5441a0ad7d
3
+ size 143269386
checkpoint-1500/added_tokens.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "<|endoftext|>": 151643,
3
- "<|im_end|>": 151645,
4
- "<|im_start|>": 151644
5
  }
 
1
  {
2
+ "</s>": 2,
3
+ "<s>": 1,
4
+ "<unk>": 0
5
  }
checkpoint-1500/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:868c0736cffb7f4aaa584e8804f4b8fce849398a2542dfe7322b5cb511e06955
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b18a443af9d4a142b9f542529ab22b1ed778edfbc783c958d7f51ae5cc692e5
3
+ size 286585234
checkpoint-1500/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e5f5a7e18c573d845cb7a9299157fec2c8f16d58a0b88ea2409a5c2c201e027
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2924d9eefcf752033920e5eed213b6d9596daafc9379941afa6966e8ee6be362
3
  size 15024
checkpoint-1500/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f576d001ca9c8f3b52c675469435a16dd76877172cd5816e2a4a7ad4c8c220f
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9985f7282db36f90b44721c9947c4f690e38cfebc894e04a5bbfc754f90530ae
3
  size 15024
checkpoint-1500/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:53a51c2d5d530ab2f212b6572ef5a1f866e9c2bc84914e3d0ac0718e15b4c70d
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ebc21c61c935d52522173b76d3f2eab450fc87c5fee25994a65a5d9c1f5a201
3
  size 15024
checkpoint-1500/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58ab60a1db6e4c7310162014a2dc632b00f26c1e8ed288bcec382f356f25b9d7
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a8c92f6e4eea624548a158996ed4b36a9a7c6b668cd327d0b7ea8cdba96e4c
3
  size 15024
checkpoint-1500/special_tokens_map.json CHANGED
@@ -1,14 +1,6 @@
1
  {
2
- "additional_special_tokens": [
3
- "<|im_start|>",
4
- "<|im_end|>"
5
- ],
6
- "eos_token": {
7
- "content": "<|endoftext|>",
8
- "lstrip": false,
9
- "normalized": false,
10
- "rstrip": false,
11
- "single_word": false
12
- },
13
- "pad_token": "<|endoftext|>"
14
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "</s>",
5
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
6
  }
checkpoint-1500/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-1500/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-1500/tokenizer_config.json CHANGED
@@ -1,24 +1,23 @@
1
  {
2
- "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
- "151643": {
5
- "content": "<|endoftext|>",
6
  "lstrip": false,
7
  "normalized": false,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
- "151644": {
13
- "content": "<|im_start|>",
14
  "lstrip": false,
15
  "normalized": false,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  },
20
- "151645": {
21
- "content": "<|im_end|>",
22
  "lstrip": false,
23
  "normalized": false,
24
  "rstrip": false,
@@ -26,18 +25,16 @@
26
  "special": true
27
  }
28
  },
29
- "additional_special_tokens": [
30
- "<|im_start|>",
31
- "<|im_end|>"
32
- ],
33
- "bos_token": null,
34
- "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
  "clean_up_tokenization_spaces": false,
36
- "eos_token": "<|endoftext|>",
37
- "errors": "replace",
38
- "model_max_length": 32768,
39
- "pad_token": "<|endoftext|>",
40
- "split_special_tokens": false,
41
- "tokenizer_class": "Qwen2Tokenizer",
42
- "unk_token": null
 
 
43
  }
 
1
  {
 
2
  "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "1": {
12
+ "content": "<s>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "2": {
20
+ "content": "</s>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
 
25
  "special": true
26
  }
27
  },
28
+ "additional_special_tokens": [],
29
+ "bos_token": "<s>",
 
 
 
 
30
  "clean_up_tokenization_spaces": false,
31
+ "eos_token": "</s>",
32
+ "legacy": false,
33
+ "model_max_length": 1000000000000000019884624838656,
34
+ "pad_token": "</s>",
35
+ "padding_side": "left",
36
+ "sp_model_kwargs": {},
37
+ "tokenizer_class": "LlamaTokenizer",
38
+ "unk_token": "<unk>",
39
+ "use_default_system_prompt": true
40
  }
checkpoint-1500/trainer_state.json CHANGED
@@ -10,219 +10,190 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
13
- "grad_norm": 0.48472875356674194,
14
  "learning_rate": 0.0003,
15
- "loss": 2.3219,
16
  "step": 100
17
  },
18
  {
19
  "epoch": 0.8,
20
- "grad_norm": 0.4583953619003296,
21
  "learning_rate": 0.0003,
22
- "loss": 2.2487,
23
  "step": 200
24
  },
25
  {
26
  "epoch": 1.0,
27
- "eval_accuracy": 0.5168253968253969,
28
- "eval_loss": 2.311781167984009,
29
- "eval_runtime": 5.4425,
30
- "eval_samples_per_second": 91.87,
31
- "eval_steps_per_second": 11.576,
32
  "step": 250
33
  },
34
  {
35
  "epoch": 1.0,
36
- "eval_exact_match": 18.6,
37
- "eval_f1": 26.999121042356347,
38
  "step": 250
39
  },
40
  {
41
  "epoch": 1.2,
42
- "grad_norm": 0.6610094904899597,
43
  "learning_rate": 0.0003,
44
- "loss": 2.083,
45
  "step": 300
46
  },
47
  {
48
  "epoch": 1.6,
49
- "grad_norm": 0.7361629605293274,
50
  "learning_rate": 0.0003,
51
- "loss": 1.9274,
52
  "step": 400
53
  },
54
  {
55
  "epoch": 2.0,
56
- "grad_norm": 0.6793610453605652,
57
  "learning_rate": 0.0003,
58
- "loss": 1.9113,
59
  "step": 500
60
  },
61
  {
62
  "epoch": 2.0,
63
- "eval_accuracy": 0.5153650793650794,
64
- "eval_loss": 2.3749232292175293,
65
- "eval_runtime": 5.2167,
66
- "eval_samples_per_second": 95.846,
67
- "eval_steps_per_second": 12.077,
68
  "step": 500
69
  },
70
  {
71
  "epoch": 2.0,
72
- "eval_exact_match": 18.2,
73
- "eval_f1": 26.209704184704197,
74
  "step": 500
75
  },
76
  {
77
  "epoch": 2.4,
78
- "grad_norm": 0.8843489289283752,
79
  "learning_rate": 0.0003,
80
- "loss": 1.4602,
81
  "step": 600
82
  },
83
  {
84
  "epoch": 2.8,
85
- "grad_norm": 0.8380613923072815,
86
  "learning_rate": 0.0003,
87
- "loss": 1.4924,
88
  "step": 700
89
  },
90
  {
91
  "epoch": 3.0,
92
- "eval_accuracy": 0.5098730158730159,
93
- "eval_loss": 2.5289740562438965,
94
- "eval_runtime": 5.3631,
95
- "eval_samples_per_second": 93.23,
96
- "eval_steps_per_second": 11.747,
97
  "step": 750
98
  },
99
  {
100
  "epoch": 3.0,
101
- "eval_exact_match": 16.6,
102
- "eval_f1": 24.526153291153296,
103
  "step": 750
104
  },
105
  {
106
  "epoch": 3.2,
107
- "grad_norm": 1.068247675895691,
108
  "learning_rate": 0.0003,
109
- "loss": 1.2869,
110
  "step": 800
111
  },
112
  {
113
  "epoch": 3.6,
114
- "grad_norm": 1.041741967201233,
115
  "learning_rate": 0.0003,
116
- "loss": 1.0749,
117
  "step": 900
118
  },
119
  {
120
  "epoch": 4.0,
121
- "grad_norm": 1.267968773841858,
122
  "learning_rate": 0.0003,
123
- "loss": 1.1157,
124
  "step": 1000
125
  },
126
  {
127
  "epoch": 4.0,
128
- "eval_accuracy": 0.5038412698412699,
129
- "eval_loss": 2.794942855834961,
130
- "eval_runtime": 5.0088,
131
- "eval_samples_per_second": 99.825,
132
- "eval_steps_per_second": 12.578,
133
  "step": 1000
134
  },
135
  {
136
  "epoch": 4.0,
137
- "eval_exact_match": 16.4,
138
- "eval_f1": 23.978561993561993,
139
  "step": 1000
140
  },
141
  {
142
  "epoch": 4.4,
143
- "grad_norm": 1.1971005201339722,
144
  "learning_rate": 0.0003,
145
- "loss": 0.7367,
146
  "step": 1100
147
  },
148
  {
149
  "epoch": 4.8,
150
- "grad_norm": 1.2383127212524414,
151
  "learning_rate": 0.0003,
152
- "loss": 0.7814,
153
  "step": 1200
154
  },
155
  {
156
  "epoch": 5.0,
157
- "eval_accuracy": 0.49853968253968256,
158
- "eval_loss": 3.0137181282043457,
159
- "eval_runtime": 5.1368,
160
- "eval_samples_per_second": 97.337,
161
- "eval_steps_per_second": 12.264,
162
  "step": 1250
163
  },
164
  {
165
  "epoch": 5.0,
166
- "eval_exact_match": 14.8,
167
- "eval_f1": 21.880294705294705,
168
  "step": 1250
169
  },
170
  {
171
  "epoch": 5.2,
172
- "grad_norm": 0.9558005928993225,
173
  "learning_rate": 0.0003,
174
- "loss": 0.6786,
175
  "step": 1300
176
  },
177
  {
178
  "epoch": 5.6,
179
- "grad_norm": 1.1341361999511719,
180
  "learning_rate": 0.0003,
181
- "loss": 0.5741,
182
  "step": 1400
183
  },
184
  {
185
  "epoch": 6.0,
186
- "grad_norm": 1.1375033855438232,
187
  "learning_rate": 0.0003,
188
- "loss": 0.605,
189
  "step": 1500
190
  },
191
  {
192
  "epoch": 6.0,
193
- "eval_accuracy": 0.49657142857142855,
194
- "eval_loss": 3.220507860183716,
195
- "eval_runtime": 5.2708,
196
- "eval_samples_per_second": 94.863,
197
- "eval_steps_per_second": 11.953,
198
  "step": 1500
199
  },
200
  {
201
  "epoch": 6.0,
202
- "eval_exact_match": 15.4,
203
- "eval_f1": 22.281807987334307,
204
  "step": 1500
205
  }
206
  ],
207
  "logging_steps": 100,
208
  "max_steps": 12500,
209
- "num_input_tokens_seen": 0,
210
  "num_train_epochs": 50,
211
  "save_steps": 500,
212
- "stateful_callbacks": {
213
- "TrainerControl": {
214
- "args": {
215
- "should_epoch_stop": false,
216
- "should_evaluate": false,
217
- "should_log": false,
218
- "should_save": true,
219
- "should_training_stop": false
220
- },
221
- "attributes": {}
222
- }
223
- },
224
- "total_flos": 3.880615748514611e+16,
225
- "train_batch_size": 1,
226
  "trial_name": null,
227
  "trial_params": null
228
  }
 
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
 
13
  "learning_rate": 0.0003,
14
+ "loss": 1.9296,
15
  "step": 100
16
  },
17
  {
18
  "epoch": 0.8,
 
19
  "learning_rate": 0.0003,
20
+ "loss": 1.7554,
21
  "step": 200
22
  },
23
  {
24
  "epoch": 1.0,
25
+ "eval_accuracy": 0.6093164556962025,
26
+ "eval_loss": 1.7939746379852295,
27
+ "eval_runtime": 5.0177,
28
+ "eval_samples_per_second": 99.648,
29
+ "eval_steps_per_second": 12.556,
30
  "step": 250
31
  },
32
  {
33
  "epoch": 1.0,
34
+ "eval_exact_match": 26.0,
35
+ "eval_f1": 36.71136363636365,
36
  "step": 250
37
  },
38
  {
39
  "epoch": 1.2,
 
40
  "learning_rate": 0.0003,
41
+ "loss": 1.6394,
42
  "step": 300
43
  },
44
  {
45
  "epoch": 1.6,
 
46
  "learning_rate": 0.0003,
47
+ "loss": 1.5315,
48
  "step": 400
49
  },
50
  {
51
  "epoch": 2.0,
 
52
  "learning_rate": 0.0003,
53
+ "loss": 1.5248,
54
  "step": 500
55
  },
56
  {
57
  "epoch": 2.0,
58
+ "eval_accuracy": 0.6085063291139241,
59
+ "eval_loss": 1.8273799419403076,
60
+ "eval_runtime": 4.4023,
61
+ "eval_samples_per_second": 113.576,
62
+ "eval_steps_per_second": 14.311,
63
  "step": 500
64
  },
65
  {
66
  "epoch": 2.0,
67
+ "eval_exact_match": 24.4,
68
+ "eval_f1": 33.57723554223556,
69
  "step": 500
70
  },
71
  {
72
  "epoch": 2.4,
 
73
  "learning_rate": 0.0003,
74
+ "loss": 1.1692,
75
  "step": 600
76
  },
77
  {
78
  "epoch": 2.8,
 
79
  "learning_rate": 0.0003,
80
+ "loss": 1.2054,
81
  "step": 700
82
  },
83
  {
84
  "epoch": 3.0,
85
+ "eval_accuracy": 0.6027088607594937,
86
+ "eval_loss": 1.9717934131622314,
87
+ "eval_runtime": 5.1273,
88
+ "eval_samples_per_second": 97.518,
89
+ "eval_steps_per_second": 12.287,
90
  "step": 750
91
  },
92
  {
93
  "epoch": 3.0,
94
+ "eval_exact_match": 20.8,
95
+ "eval_f1": 30.584243697478996,
96
  "step": 750
97
  },
98
  {
99
  "epoch": 3.2,
 
100
  "learning_rate": 0.0003,
101
+ "loss": 1.0252,
102
  "step": 800
103
  },
104
  {
105
  "epoch": 3.6,
 
106
  "learning_rate": 0.0003,
107
+ "loss": 0.8608,
108
  "step": 900
109
  },
110
  {
111
  "epoch": 4.0,
 
112
  "learning_rate": 0.0003,
113
+ "loss": 0.8989,
114
  "step": 1000
115
  },
116
  {
117
  "epoch": 4.0,
118
+ "eval_accuracy": 0.5986835443037974,
119
+ "eval_loss": 2.151914596557617,
120
+ "eval_runtime": 5.3325,
121
+ "eval_samples_per_second": 93.765,
122
+ "eval_steps_per_second": 11.814,
123
  "step": 1000
124
  },
125
  {
126
  "epoch": 4.0,
127
+ "eval_exact_match": 21.0,
128
+ "eval_f1": 30.363229548229558,
129
  "step": 1000
130
  },
131
  {
132
  "epoch": 4.4,
 
133
  "learning_rate": 0.0003,
134
+ "loss": 0.5842,
135
  "step": 1100
136
  },
137
  {
138
  "epoch": 4.8,
 
139
  "learning_rate": 0.0003,
140
+ "loss": 0.6306,
141
  "step": 1200
142
  },
143
  {
144
  "epoch": 5.0,
145
+ "eval_accuracy": 0.5960506329113924,
146
+ "eval_loss": 2.329284191131592,
147
+ "eval_runtime": 4.5585,
148
+ "eval_samples_per_second": 109.686,
149
+ "eval_steps_per_second": 13.82,
150
  "step": 1250
151
  },
152
  {
153
  "epoch": 5.0,
154
+ "eval_exact_match": 20.4,
155
+ "eval_f1": 30.02542624042625,
156
  "step": 1250
157
  },
158
  {
159
  "epoch": 5.2,
 
160
  "learning_rate": 0.0003,
161
+ "loss": 0.5368,
162
  "step": 1300
163
  },
164
  {
165
  "epoch": 5.6,
 
166
  "learning_rate": 0.0003,
167
+ "loss": 0.4495,
168
  "step": 1400
169
  },
170
  {
171
  "epoch": 6.0,
 
172
  "learning_rate": 0.0003,
173
+ "loss": 0.4712,
174
  "step": 1500
175
  },
176
  {
177
  "epoch": 6.0,
178
+ "eval_accuracy": 0.5935696202531645,
179
+ "eval_loss": 2.5598793029785156,
180
+ "eval_runtime": 4.4094,
181
+ "eval_samples_per_second": 113.395,
182
+ "eval_steps_per_second": 14.288,
183
  "step": 1500
184
  },
185
  {
186
  "epoch": 6.0,
187
+ "eval_exact_match": 20.6,
188
+ "eval_f1": 30.108149073149082,
189
  "step": 1500
190
  }
191
  ],
192
  "logging_steps": 100,
193
  "max_steps": 12500,
 
194
  "num_train_epochs": 50,
195
  "save_steps": 500,
196
+ "total_flos": 9.584022301494477e+16,
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  "trial_name": null,
198
  "trial_params": null
199
  }
checkpoint-1500/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dae73bb50794744b259c1eaaeb67f6ae0b1d0f39b0a32b5f1162fc82e3a5d6a6
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eef995e0a4a8da1af8ae275504624b1fcb2d18639b8c53b553ebed1c9a9b7fd7
3
+ size 4728