GuoZiming commited on
Commit
534a654
1 Parent(s): e0773d7
README copy.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+
9
+ - PEFT 0.4.0
adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "codellama/CodeLlama-7b-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc0a7c0a88dc3ec9de61321e9e054e9f32758e0339127b19eebddf632c91e3ba
3
+ size 134262410
finetuning_args.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dpo_beta": 0.1,
3
+ "finetuning_type": "lora",
4
+ "lora_alpha": 32.0,
5
+ "lora_dropout": 0.1,
6
+ "lora_rank": 64,
7
+ "lora_target": [
8
+ "q_proj",
9
+ "v_proj"
10
+ ],
11
+ "name_module_trainable": "mlp",
12
+ "num_hidden_layers": 32,
13
+ "num_layer_trainable": 3,
14
+ "ppo_score_norm": false,
15
+ "resume_lora_training": true
16
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aca4020fb765c7d469ea0b9d854de4dc6ea1b28b8194cfaf4719d5281f489182
3
+ size 268543610
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:780226584d634749ec54a673feb6a883032709483752c94a1b0f3413e98f03b8
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c44daa83c6ea9996e45f4bd20afd946d01a29261589c3c698365bb3ccc03e2bf
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.6955768564499367,
5
+ "eval_steps": 500,
6
+ "global_step": 2000,
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.09,
13
+ "learning_rate": 0.00019993414517786287,
14
+ "loss": 0.4211,
15
+ "step": 50
16
+ },
17
+ {
18
+ "epoch": 0.18,
19
+ "learning_rate": 0.0001997366674486034,
20
+ "loss": 0.2148,
21
+ "step": 100
22
+ },
23
+ {
24
+ "epoch": 0.28,
25
+ "learning_rate": 0.00019940782690943637,
26
+ "loss": 0.1821,
27
+ "step": 150
28
+ },
29
+ {
30
+ "epoch": 0.37,
31
+ "learning_rate": 0.00019894805667506615,
32
+ "loss": 0.1588,
33
+ "step": 200
34
+ },
35
+ {
36
+ "epoch": 0.46,
37
+ "learning_rate": 0.00019835796230723287,
38
+ "loss": 0.142,
39
+ "step": 250
40
+ },
41
+ {
42
+ "epoch": 0.55,
43
+ "learning_rate": 0.00019763832101712928,
44
+ "loss": 0.1332,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 0.65,
49
+ "learning_rate": 0.00019679008064173867,
50
+ "loss": 0.1303,
51
+ "step": 350
52
+ },
53
+ {
54
+ "epoch": 0.74,
55
+ "learning_rate": 0.00019581435839544203,
56
+ "loss": 0.126,
57
+ "step": 400
58
+ },
59
+ {
60
+ "epoch": 0.83,
61
+ "learning_rate": 0.00019471243939853908,
62
+ "loss": 0.1089,
63
+ "step": 450
64
+ },
65
+ {
66
+ "epoch": 0.92,
67
+ "learning_rate": 0.0001934857749846208,
68
+ "loss": 0.1077,
69
+ "step": 500
70
+ },
71
+ {
72
+ "epoch": 1.02,
73
+ "learning_rate": 0.0001921359807890232,
74
+ "loss": 0.0967,
75
+ "step": 550
76
+ },
77
+ {
78
+ "epoch": 1.11,
79
+ "learning_rate": 0.0001906648346208798,
80
+ "loss": 0.0829,
81
+ "step": 600
82
+ },
83
+ {
84
+ "epoch": 1.2,
85
+ "learning_rate": 0.00018907427412157533,
86
+ "loss": 0.0772,
87
+ "step": 650
88
+ },
89
+ {
90
+ "epoch": 1.29,
91
+ "learning_rate": 0.00018736639421268545,
92
+ "loss": 0.0744,
93
+ "step": 700
94
+ },
95
+ {
96
+ "epoch": 1.39,
97
+ "learning_rate": 0.0001855434443367628,
98
+ "loss": 0.0699,
99
+ "step": 750
100
+ },
101
+ {
102
+ "epoch": 1.48,
103
+ "learning_rate": 0.0001836078254946042,
104
+ "loss": 0.0742,
105
+ "step": 800
106
+ },
107
+ {
108
+ "epoch": 1.57,
109
+ "learning_rate": 0.00018156208708290121,
110
+ "loss": 0.0679,
111
+ "step": 850
112
+ },
113
+ {
114
+ "epoch": 1.66,
115
+ "learning_rate": 0.00017940892353643866,
116
+ "loss": 0.0655,
117
+ "step": 900
118
+ },
119
+ {
120
+ "epoch": 1.76,
121
+ "learning_rate": 0.00017715117077926422,
122
+ "loss": 0.0695,
123
+ "step": 950
124
+ },
125
+ {
126
+ "epoch": 1.85,
127
+ "learning_rate": 0.00017479180248950295,
128
+ "loss": 0.0619,
129
+ "step": 1000
130
+ },
131
+ {
132
+ "epoch": 1.94,
133
+ "learning_rate": 0.00017233392618273645,
134
+ "loss": 0.0638,
135
+ "step": 1050
136
+ },
137
+ {
138
+ "epoch": 2.03,
139
+ "learning_rate": 0.00016978077911910502,
140
+ "loss": 0.053,
141
+ "step": 1100
142
+ },
143
+ {
144
+ "epoch": 2.12,
145
+ "learning_rate": 0.00016713572403952403,
146
+ "loss": 0.0403,
147
+ "step": 1150
148
+ },
149
+ {
150
+ "epoch": 2.22,
151
+ "learning_rate": 0.0001644022447366296,
152
+ "loss": 0.0474,
153
+ "step": 1200
154
+ },
155
+ {
156
+ "epoch": 2.31,
157
+ "learning_rate": 0.0001615839414662879,
158
+ "loss": 0.0402,
159
+ "step": 1250
160
+ },
161
+ {
162
+ "epoch": 2.4,
163
+ "learning_rate": 0.00015868452620571087,
164
+ "loss": 0.0456,
165
+ "step": 1300
166
+ },
167
+ {
168
+ "epoch": 2.49,
169
+ "learning_rate": 0.00015570781776442426,
170
+ "loss": 0.0426,
171
+ "step": 1350
172
+ },
173
+ {
174
+ "epoch": 2.59,
175
+ "learning_rate": 0.00015265773675452718,
176
+ "loss": 0.0416,
177
+ "step": 1400
178
+ },
179
+ {
180
+ "epoch": 2.68,
181
+ "learning_rate": 0.0001495383004268678,
182
+ "loss": 0.0422,
183
+ "step": 1450
184
+ },
185
+ {
186
+ "epoch": 2.77,
187
+ "learning_rate": 0.00014635361737993667,
188
+ "loss": 0.0395,
189
+ "step": 1500
190
+ },
191
+ {
192
+ "epoch": 2.86,
193
+ "learning_rate": 0.00014310788214844618,
194
+ "loss": 0.0364,
195
+ "step": 1550
196
+ },
197
+ {
198
+ "epoch": 2.96,
199
+ "learning_rate": 0.00013980536967872378,
200
+ "loss": 0.0353,
201
+ "step": 1600
202
+ },
203
+ {
204
+ "epoch": 3.05,
205
+ "learning_rate": 0.00013645042969819544,
206
+ "loss": 0.0285,
207
+ "step": 1650
208
+ },
209
+ {
210
+ "epoch": 3.14,
211
+ "learning_rate": 0.0001330474809863752,
212
+ "loss": 0.0234,
213
+ "step": 1700
214
+ },
215
+ {
216
+ "epoch": 3.23,
217
+ "learning_rate": 0.00012960100555490617,
218
+ "loss": 0.0234,
219
+ "step": 1750
220
+ },
221
+ {
222
+ "epoch": 3.33,
223
+ "learning_rate": 0.0001261155427443192,
224
+ "loss": 0.0243,
225
+ "step": 1800
226
+ },
227
+ {
228
+ "epoch": 3.42,
229
+ "learning_rate": 0.00012259568324528335,
230
+ "loss": 0.0251,
231
+ "step": 1850
232
+ },
233
+ {
234
+ "epoch": 3.51,
235
+ "learning_rate": 0.00011904606305222381,
236
+ "loss": 0.0234,
237
+ "step": 1900
238
+ },
239
+ {
240
+ "epoch": 3.6,
241
+ "learning_rate": 0.00011547135735726992,
242
+ "loss": 0.0216,
243
+ "step": 1950
244
+ },
245
+ {
246
+ "epoch": 3.7,
247
+ "learning_rate": 0.00011187627439257638,
248
+ "loss": 0.0195,
249
+ "step": 2000
250
+ }
251
+ ],
252
+ "logging_steps": 50,
253
+ "max_steps": 4328,
254
+ "num_train_epochs": 8,
255
+ "save_steps": 500,
256
+ "total_flos": 8.384347351782605e+17,
257
+ "trial_name": null,
258
+ "trial_params": null
259
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ffd3798773844bd18d6bf29f19f614edbd89887b4821cf0c467b58313c618e9
3
+ size 3487