WangXFng commited on
Commit
22bb6c1
·
verified ·
1 Parent(s): 1ff8742

Model save

Browse files
README.md CHANGED
@@ -34,11 +34,11 @@ More information needed
34
 
35
  The following hyperparameters were used during training:
36
  - learning_rate: 0.0001
37
- - train_batch_size: 4
38
  - eval_batch_size: 8
39
  - seed: 42
40
  - gradient_accumulation_steps: 16
41
- - total_train_batch_size: 64
42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
  - lr_scheduler_type: linear
44
  - lr_scheduler_warmup_steps: 2
 
34
 
35
  The following hyperparameters were used during training:
36
  - learning_rate: 0.0001
37
+ - train_batch_size: 16
38
  - eval_batch_size: 8
39
  - seed: 42
40
  - gradient_accumulation_steps: 16
41
+ - total_train_batch_size: 256
42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
  - lr_scheduler_type: linear
44
  - lr_scheduler_warmup_steps: 2
adapter_config.json CHANGED
@@ -16,17 +16,17 @@
16
  "megatron_core": "megatron.core",
17
  "modules_to_save": null,
18
  "peft_type": "LORA",
19
- "r": 16,
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
 
23
  "q_proj",
24
  "gate_proj",
25
- "k_proj",
26
- "v_proj",
27
- "up_proj",
28
  "o_proj",
29
- "down_proj"
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
16
  "megatron_core": "megatron.core",
17
  "modules_to_save": null,
18
  "peft_type": "LORA",
19
+ "r": 8,
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
+ "down_proj",
24
+ "up_proj",
25
  "q_proj",
26
  "gate_proj",
 
 
 
27
  "o_proj",
28
+ "v_proj",
29
+ "k_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a4795bfd27ceca59a95652b7f3315d7cef985190ec0e31ff2d89a90801c6ccef
3
- size 1103312056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b76d8288879581778f246b3845bced1ecc2a578d3d54dae5edab913ca5d5b73
3
+ size 1080767344
trainer_state.json CHANGED
@@ -3,247 +3,79 @@
3
  "best_model_checkpoint": null,
4
  "epoch": 4.0,
5
  "eval_steps": 500,
6
- "global_step": 8240,
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.12135922330097088,
13
- "grad_norm": 1.0826135873794556,
14
- "learning_rate": 9.698956057295461e-05,
15
- "loss": 1.259,
16
- "step": 250
17
- },
18
- {
19
- "epoch": 0.24271844660194175,
20
- "grad_norm": 1.2716737985610962,
21
- "learning_rate": 9.395484340859432e-05,
22
- "loss": 0.7161,
23
- "step": 500
24
- },
25
- {
26
- "epoch": 0.3640776699029126,
27
- "grad_norm": 1.1046184301376343,
28
- "learning_rate": 9.092012624423404e-05,
29
- "loss": 0.5956,
30
- "step": 750
31
- },
32
  {
33
  "epoch": 0.4854368932038835,
34
- "grad_norm": 1.0273100137710571,
35
- "learning_rate": 8.788540907987377e-05,
36
- "loss": 0.5399,
37
- "step": 1000
38
- },
39
- {
40
- "epoch": 0.6067961165048543,
41
- "grad_norm": 0.8700250387191772,
42
- "learning_rate": 8.485069191551348e-05,
43
- "loss": 0.5162,
44
- "step": 1250
45
- },
46
- {
47
- "epoch": 0.7281553398058253,
48
- "grad_norm": 0.8778573274612427,
49
- "learning_rate": 8.181597475115321e-05,
50
- "loss": 0.4971,
51
- "step": 1500
52
- },
53
- {
54
- "epoch": 0.8495145631067961,
55
- "grad_norm": 0.8028275370597839,
56
- "learning_rate": 7.878125758679291e-05,
57
- "loss": 0.4859,
58
- "step": 1750
59
  },
60
  {
61
  "epoch": 0.970873786407767,
62
- "grad_norm": 0.7014565467834473,
63
- "learning_rate": 7.574654042243264e-05,
64
- "loss": 0.4794,
65
- "step": 2000
66
- },
67
- {
68
- "epoch": 1.0922330097087378,
69
- "grad_norm": 0.7191192507743835,
70
- "learning_rate": 7.271182325807235e-05,
71
- "loss": 0.4731,
72
- "step": 2250
73
- },
74
- {
75
- "epoch": 1.2135922330097086,
76
- "grad_norm": 0.7179076075553894,
77
- "learning_rate": 6.967710609371208e-05,
78
- "loss": 0.4647,
79
- "step": 2500
80
- },
81
- {
82
- "epoch": 1.3349514563106797,
83
- "grad_norm": 0.6208838820457458,
84
- "learning_rate": 6.664238892935178e-05,
85
- "loss": 0.4659,
86
- "step": 2750
87
  },
88
  {
89
  "epoch": 1.4563106796116505,
90
- "grad_norm": 0.6834104061126709,
91
- "learning_rate": 6.360767176499151e-05,
92
- "loss": 0.4601,
93
- "step": 3000
94
- },
95
- {
96
- "epoch": 1.5776699029126213,
97
- "grad_norm": 0.7568572163581848,
98
- "learning_rate": 6.0572954600631224e-05,
99
- "loss": 0.4533,
100
- "step": 3250
101
- },
102
- {
103
- "epoch": 1.6990291262135924,
104
- "grad_norm": 0.7566137909889221,
105
- "learning_rate": 5.7538237436270945e-05,
106
- "loss": 0.4465,
107
- "step": 3500
108
- },
109
- {
110
- "epoch": 1.820388349514563,
111
- "grad_norm": 0.7088573575019836,
112
- "learning_rate": 5.450352027191066e-05,
113
- "loss": 0.439,
114
- "step": 3750
115
  },
116
  {
117
  "epoch": 1.941747572815534,
118
- "grad_norm": 0.7710273265838623,
119
- "learning_rate": 5.146880310755038e-05,
120
- "loss": 0.4336,
121
- "step": 4000
122
- },
123
- {
124
- "epoch": 2.063106796116505,
125
- "grad_norm": 0.8484824299812317,
126
- "learning_rate": 4.84340859431901e-05,
127
- "loss": 0.4197,
128
- "step": 4250
129
- },
130
- {
131
- "epoch": 2.1844660194174756,
132
- "grad_norm": 0.877728283405304,
133
- "learning_rate": 4.539936877882982e-05,
134
- "loss": 0.4089,
135
- "step": 4500
136
- },
137
- {
138
- "epoch": 2.3058252427184467,
139
- "grad_norm": 0.9526512622833252,
140
- "learning_rate": 4.236465161446954e-05,
141
- "loss": 0.4015,
142
- "step": 4750
143
  },
144
  {
145
  "epoch": 2.4271844660194173,
146
- "grad_norm": 1.0069864988327026,
147
- "learning_rate": 3.932993445010925e-05,
148
- "loss": 0.3921,
149
- "step": 5000
150
- },
151
- {
152
- "epoch": 2.5485436893203883,
153
- "grad_norm": 0.9432169198989868,
154
- "learning_rate": 3.6295217285748975e-05,
155
- "loss": 0.3812,
156
- "step": 5250
157
- },
158
- {
159
- "epoch": 2.6699029126213594,
160
- "grad_norm": 1.0197330713272095,
161
- "learning_rate": 3.326050012138869e-05,
162
- "loss": 0.3739,
163
- "step": 5500
164
- },
165
- {
166
- "epoch": 2.79126213592233,
167
- "grad_norm": 1.1332706212997437,
168
- "learning_rate": 3.022578295702841e-05,
169
- "loss": 0.367,
170
- "step": 5750
171
  },
172
  {
173
  "epoch": 2.912621359223301,
174
- "grad_norm": 1.0419621467590332,
175
- "learning_rate": 2.7191065792668125e-05,
176
- "loss": 0.3579,
177
- "step": 6000
178
- },
179
- {
180
- "epoch": 3.033980582524272,
181
- "grad_norm": 1.1409462690353394,
182
- "learning_rate": 2.4156348628307843e-05,
183
- "loss": 0.3471,
184
- "step": 6250
185
- },
186
- {
187
- "epoch": 3.1553398058252426,
188
- "grad_norm": 1.171637773513794,
189
- "learning_rate": 2.112163146394756e-05,
190
- "loss": 0.3316,
191
- "step": 6500
192
- },
193
- {
194
- "epoch": 3.2766990291262137,
195
- "grad_norm": 1.1024283170700073,
196
- "learning_rate": 1.808691429958728e-05,
197
- "loss": 0.3269,
198
- "step": 6750
199
  },
200
  {
201
  "epoch": 3.3980582524271843,
202
- "grad_norm": 1.1913949251174927,
203
- "learning_rate": 1.5052197135226997e-05,
204
- "loss": 0.3233,
205
- "step": 7000
206
- },
207
- {
208
- "epoch": 3.5194174757281553,
209
- "grad_norm": 1.1978884935379028,
210
- "learning_rate": 1.2017479970866715e-05,
211
- "loss": 0.3199,
212
- "step": 7250
213
- },
214
- {
215
- "epoch": 3.6407766990291264,
216
- "grad_norm": 1.165363073348999,
217
- "learning_rate": 8.982762806506435e-06,
218
- "loss": 0.3173,
219
- "step": 7500
220
- },
221
- {
222
- "epoch": 3.762135922330097,
223
- "grad_norm": 1.1788644790649414,
224
- "learning_rate": 5.948045642146152e-06,
225
- "loss": 0.3127,
226
- "step": 7750
227
  },
228
  {
229
  "epoch": 3.883495145631068,
230
- "grad_norm": 1.089274525642395,
231
- "learning_rate": 2.9133284777858704e-06,
232
- "loss": 0.3128,
233
- "step": 8000
234
  },
235
  {
236
  "epoch": 4.0,
237
- "step": 8240,
238
- "total_flos": 3.837880094282465e+17,
239
- "train_loss": 0.4465005939446607,
240
- "train_runtime": 12679.4227,
241
- "train_samples_per_second": 41.591,
242
- "train_steps_per_second": 0.65
243
  }
244
  ],
245
  "logging_steps": 250,
246
- "max_steps": 8240,
247
  "num_input_tokens_seen": 0,
248
  "num_train_epochs": 4,
249
  "save_steps": 500,
@@ -259,8 +91,8 @@
259
  "attributes": {}
260
  }
261
  },
262
- "total_flos": 3.837880094282465e+17,
263
- "train_batch_size": 4,
264
  "trial_name": null,
265
  "trial_params": null
266
  }
 
3
  "best_model_checkpoint": null,
4
  "epoch": 4.0,
5
  "eval_steps": 500,
6
+ "global_step": 2060,
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.4854368932038835,
13
+ "grad_norm": 0.5794751644134521,
14
+ "learning_rate": 8.794946550048592e-05,
15
+ "loss": 0.9726,
16
+ "step": 250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  },
18
  {
19
  "epoch": 0.970873786407767,
20
+ "grad_norm": 0.8225833773612976,
21
+ "learning_rate": 7.580174927113704e-05,
22
+ "loss": 0.6738,
23
+ "step": 500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  },
25
  {
26
  "epoch": 1.4563106796116505,
27
+ "grad_norm": 0.9149301648139954,
28
+ "learning_rate": 6.365403304178815e-05,
29
+ "loss": 0.5896,
30
+ "step": 750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  },
32
  {
33
  "epoch": 1.941747572815534,
34
+ "grad_norm": 1.0453987121582031,
35
+ "learning_rate": 5.150631681243926e-05,
36
+ "loss": 0.5344,
37
+ "step": 1000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  },
39
  {
40
  "epoch": 2.4271844660194173,
41
+ "grad_norm": 0.9058604836463928,
42
+ "learning_rate": 3.9358600583090386e-05,
43
+ "loss": 0.4996,
44
+ "step": 1250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  },
46
  {
47
  "epoch": 2.912621359223301,
48
+ "grad_norm": 1.047943353652954,
49
+ "learning_rate": 2.72108843537415e-05,
50
+ "loss": 0.4784,
51
+ "step": 1500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  },
53
  {
54
  "epoch": 3.3980582524271843,
55
+ "grad_norm": 0.7062876224517822,
56
+ "learning_rate": 1.5063168124392615e-05,
57
+ "loss": 0.4613,
58
+ "step": 1750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  },
60
  {
61
  "epoch": 3.883495145631068,
62
+ "grad_norm": 0.6118430495262146,
63
+ "learning_rate": 2.915451895043732e-06,
64
+ "loss": 0.454,
65
+ "step": 2000
66
  },
67
  {
68
  "epoch": 4.0,
69
+ "step": 2060,
70
+ "total_flos": 4.996840775351132e+17,
71
+ "train_loss": 0.5791272876332108,
72
+ "train_runtime": 7755.537,
73
+ "train_samples_per_second": 67.996,
74
+ "train_steps_per_second": 0.266
75
  }
76
  ],
77
  "logging_steps": 250,
78
+ "max_steps": 2060,
79
  "num_input_tokens_seen": 0,
80
  "num_train_epochs": 4,
81
  "save_steps": 500,
 
91
  "attributes": {}
92
  }
93
  },
94
+ "total_flos": 4.996840775351132e+17,
95
+ "train_batch_size": 16,
96
  "trial_name": null,
97
  "trial_params": null
98
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5fa8edf71a0a6eb97ad6ceed7ec5d2805679572b31ed3d20dea35d2b69c53fa1
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1c939db3287c1e42257893106e71bc5032cc86e31cb9e70d947062d5cf0fdd9
3
  size 5240