EC2 Default User
commited on
Commit
•
ac3e875
1
Parent(s):
2f0f3ea
add lora weights
Browse files- README.md +9 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +259 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
### Framework versions
|
7 |
+
|
8 |
+
|
9 |
+
- PEFT 0.5.0
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "meta-llama/Llama-2-7b-chat-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": 8,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 2,
|
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:9d1dd332277b42d4ff7fa716a6e7e816de05005e31c3e4d41f26a59ea53dab5f
|
3 |
+
size 4240077
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f74e98de849e2e46e012f58eb09be2a1e7d62439f271a4671d83b54963955790
|
3 |
+
size 2205381
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3da0b1f1c9c5463143708574c5432bdfa00894b71e5f01973ff5a68ac6736b25
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adc80dc77a8c026eabfa151ded706e57803f9841e8645d86b11a50ac83423b09
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,259 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.49536439776420593,
|
3 |
+
"best_model_checkpoint": "output/llama2-7b-chat-hf/checkpoint-12000",
|
4 |
+
"epoch": 1.8354236769654328,
|
5 |
+
"eval_steps": 1000,
|
6 |
+
"global_step": 12000,
|
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.08,
|
13 |
+
"learning_rate": 4.923524013459774e-05,
|
14 |
+
"loss": 0.9566,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.15,
|
19 |
+
"learning_rate": 4.8470480269195475e-05,
|
20 |
+
"loss": 0.2966,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.15,
|
25 |
+
"eval_loss": 0.5167073011398315,
|
26 |
+
"eval_runtime": 38.9684,
|
27 |
+
"eval_samples_per_second": 12.831,
|
28 |
+
"eval_steps_per_second": 1.617,
|
29 |
+
"step": 1000
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 0.23,
|
33 |
+
"learning_rate": 4.770572040379321e-05,
|
34 |
+
"loss": 0.2828,
|
35 |
+
"step": 1500
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 0.31,
|
39 |
+
"learning_rate": 4.694096053839095e-05,
|
40 |
+
"loss": 0.2869,
|
41 |
+
"step": 2000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 0.31,
|
45 |
+
"eval_loss": 0.5082407593727112,
|
46 |
+
"eval_runtime": 38.9667,
|
47 |
+
"eval_samples_per_second": 12.831,
|
48 |
+
"eval_steps_per_second": 1.617,
|
49 |
+
"step": 2000
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 0.38,
|
53 |
+
"learning_rate": 4.617620067298868e-05,
|
54 |
+
"loss": 0.2855,
|
55 |
+
"step": 2500
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 0.46,
|
59 |
+
"learning_rate": 4.541144080758642e-05,
|
60 |
+
"loss": 0.2754,
|
61 |
+
"step": 3000
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 0.46,
|
65 |
+
"eval_loss": 0.5053573250770569,
|
66 |
+
"eval_runtime": 38.968,
|
67 |
+
"eval_samples_per_second": 12.831,
|
68 |
+
"eval_steps_per_second": 1.617,
|
69 |
+
"step": 3000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.54,
|
73 |
+
"learning_rate": 4.4646680942184155e-05,
|
74 |
+
"loss": 0.2909,
|
75 |
+
"step": 3500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.61,
|
79 |
+
"learning_rate": 4.388192107678189e-05,
|
80 |
+
"loss": 0.2904,
|
81 |
+
"step": 4000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.61,
|
85 |
+
"eval_loss": 0.5021488070487976,
|
86 |
+
"eval_runtime": 38.9639,
|
87 |
+
"eval_samples_per_second": 12.832,
|
88 |
+
"eval_steps_per_second": 1.617,
|
89 |
+
"step": 4000
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 0.69,
|
93 |
+
"learning_rate": 4.311716121137963e-05,
|
94 |
+
"loss": 0.2871,
|
95 |
+
"step": 4500
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 0.76,
|
99 |
+
"learning_rate": 4.2352401345977364e-05,
|
100 |
+
"loss": 0.2837,
|
101 |
+
"step": 5000
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 0.76,
|
105 |
+
"eval_loss": 0.5003100037574768,
|
106 |
+
"eval_runtime": 38.9665,
|
107 |
+
"eval_samples_per_second": 12.832,
|
108 |
+
"eval_steps_per_second": 1.617,
|
109 |
+
"step": 5000
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 0.84,
|
113 |
+
"learning_rate": 4.15876414805751e-05,
|
114 |
+
"loss": 0.2775,
|
115 |
+
"step": 5500
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 0.92,
|
119 |
+
"learning_rate": 4.0822881615172836e-05,
|
120 |
+
"loss": 0.2842,
|
121 |
+
"step": 6000
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.92,
|
125 |
+
"eval_loss": 0.5002090334892273,
|
126 |
+
"eval_runtime": 38.9654,
|
127 |
+
"eval_samples_per_second": 12.832,
|
128 |
+
"eval_steps_per_second": 1.617,
|
129 |
+
"step": 6000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.99,
|
133 |
+
"learning_rate": 4.005812174977057e-05,
|
134 |
+
"loss": 0.29,
|
135 |
+
"step": 6500
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.07,
|
139 |
+
"learning_rate": 3.9293361884368315e-05,
|
140 |
+
"loss": 0.2851,
|
141 |
+
"step": 7000
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 1.07,
|
145 |
+
"eval_loss": 0.49814751744270325,
|
146 |
+
"eval_runtime": 38.9615,
|
147 |
+
"eval_samples_per_second": 12.833,
|
148 |
+
"eval_steps_per_second": 1.617,
|
149 |
+
"step": 7000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.15,
|
153 |
+
"learning_rate": 3.8528602018966045e-05,
|
154 |
+
"loss": 0.2758,
|
155 |
+
"step": 7500
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 1.22,
|
159 |
+
"learning_rate": 3.776384215356378e-05,
|
160 |
+
"loss": 0.2763,
|
161 |
+
"step": 8000
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 1.22,
|
165 |
+
"eval_loss": 0.498801052570343,
|
166 |
+
"eval_runtime": 38.9636,
|
167 |
+
"eval_samples_per_second": 12.832,
|
168 |
+
"eval_steps_per_second": 1.617,
|
169 |
+
"step": 8000
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 1.3,
|
173 |
+
"learning_rate": 3.699908228816152e-05,
|
174 |
+
"loss": 0.2826,
|
175 |
+
"step": 8500
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 1.38,
|
179 |
+
"learning_rate": 3.623432242275925e-05,
|
180 |
+
"loss": 0.2712,
|
181 |
+
"step": 9000
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 1.38,
|
185 |
+
"eval_loss": 0.49798327684402466,
|
186 |
+
"eval_runtime": 38.9634,
|
187 |
+
"eval_samples_per_second": 12.833,
|
188 |
+
"eval_steps_per_second": 1.617,
|
189 |
+
"step": 9000
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 1.45,
|
193 |
+
"learning_rate": 3.546956255735699e-05,
|
194 |
+
"loss": 0.2775,
|
195 |
+
"step": 9500
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 1.53,
|
199 |
+
"learning_rate": 3.470480269195473e-05,
|
200 |
+
"loss": 0.2727,
|
201 |
+
"step": 10000
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 1.53,
|
205 |
+
"eval_loss": 0.49744608998298645,
|
206 |
+
"eval_runtime": 38.9669,
|
207 |
+
"eval_samples_per_second": 12.831,
|
208 |
+
"eval_steps_per_second": 1.617,
|
209 |
+
"step": 10000
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.61,
|
213 |
+
"learning_rate": 3.394004282655247e-05,
|
214 |
+
"loss": 0.2747,
|
215 |
+
"step": 10500
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"epoch": 1.68,
|
219 |
+
"learning_rate": 3.31752829611502e-05,
|
220 |
+
"loss": 0.2711,
|
221 |
+
"step": 11000
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 1.68,
|
225 |
+
"eval_loss": 0.49606311321258545,
|
226 |
+
"eval_runtime": 38.9636,
|
227 |
+
"eval_samples_per_second": 12.832,
|
228 |
+
"eval_steps_per_second": 1.617,
|
229 |
+
"step": 11000
|
230 |
+
},
|
231 |
+
{
|
232 |
+
"epoch": 1.76,
|
233 |
+
"learning_rate": 3.2410523095747934e-05,
|
234 |
+
"loss": 0.2766,
|
235 |
+
"step": 11500
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 1.84,
|
239 |
+
"learning_rate": 3.164576323034567e-05,
|
240 |
+
"loss": 0.2785,
|
241 |
+
"step": 12000
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 1.84,
|
245 |
+
"eval_loss": 0.49536439776420593,
|
246 |
+
"eval_runtime": 38.9645,
|
247 |
+
"eval_samples_per_second": 12.832,
|
248 |
+
"eval_steps_per_second": 1.617,
|
249 |
+
"step": 12000
|
250 |
+
}
|
251 |
+
],
|
252 |
+
"logging_steps": 500,
|
253 |
+
"max_steps": 32690,
|
254 |
+
"num_train_epochs": 5,
|
255 |
+
"save_steps": 1000,
|
256 |
+
"total_flos": 2.1886994939904e+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:c45f7ee0d2646c66609d68351301a58ddac962429a216a6cfb609029cad077c4
|
3 |
+
size 4027
|