End of training
Browse files- README.md +14 -2
- all_results.json +16 -0
- eval_results.json +10 -0
- tokenizer.json +1 -6
- train_results.json +9 -0
- trainer_state.json +295 -0
README.md
CHANGED
@@ -3,11 +3,23 @@ license: other
|
|
3 |
base_model: Qwen/Qwen1.5-4B
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: lmind_hotpot_train8000_eval7405_v1_reciteonly_qa_Qwen_Qwen1.5-4B_lora2
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
library_name: peft
|
12 |
---
|
13 |
|
@@ -16,7 +28,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# lmind_hotpot_train8000_eval7405_v1_reciteonly_qa_Qwen_Qwen1.5-4B_lora2
|
18 |
|
19 |
-
This model is a fine-tuned version of [Qwen/Qwen1.5-4B](https://huggingface.co/Qwen/Qwen1.5-4B) on
|
20 |
It achieves the following results on the evaluation set:
|
21 |
- Loss: 1.9636
|
22 |
- Accuracy: 0.6657
|
|
|
3 |
base_model: Qwen/Qwen1.5-4B
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- tyzhu/lmind_hotpot_train8000_eval7405_v1_reciteonly_qa
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
11 |
- name: lmind_hotpot_train8000_eval7405_v1_reciteonly_qa_Qwen_Qwen1.5-4B_lora2
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Causal Language Modeling
|
15 |
+
type: text-generation
|
16 |
+
dataset:
|
17 |
+
name: tyzhu/lmind_hotpot_train8000_eval7405_v1_reciteonly_qa
|
18 |
+
type: tyzhu/lmind_hotpot_train8000_eval7405_v1_reciteonly_qa
|
19 |
+
metrics:
|
20 |
+
- name: Accuracy
|
21 |
+
type: accuracy
|
22 |
+
value: 0.6657438136826783
|
23 |
library_name: peft
|
24 |
---
|
25 |
|
|
|
28 |
|
29 |
# lmind_hotpot_train8000_eval7405_v1_reciteonly_qa_Qwen_Qwen1.5-4B_lora2
|
30 |
|
31 |
+
This model is a fine-tuned version of [Qwen/Qwen1.5-4B](https://huggingface.co/Qwen/Qwen1.5-4B) on the tyzhu/lmind_hotpot_train8000_eval7405_v1_reciteonly_qa dataset.
|
32 |
It achieves the following results on the evaluation set:
|
33 |
- Loss: 1.9636
|
34 |
- Accuracy: 0.6657
|
all_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.6657438136826783,
|
4 |
+
"eval_loss": 1.9635711908340454,
|
5 |
+
"eval_runtime": 11.6834,
|
6 |
+
"eval_samples": 500,
|
7 |
+
"eval_samples_per_second": 42.796,
|
8 |
+
"eval_steps_per_second": 5.392,
|
9 |
+
"perplexity": 7.1247254411303755,
|
10 |
+
"total_flos": 4.6107057930738074e+17,
|
11 |
+
"train_loss": 1.057360610961914,
|
12 |
+
"train_runtime": 8831.7737,
|
13 |
+
"train_samples": 8000,
|
14 |
+
"train_samples_per_second": 9.058,
|
15 |
+
"train_steps_per_second": 0.283
|
16 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.6657438136826783,
|
4 |
+
"eval_loss": 1.9635711908340454,
|
5 |
+
"eval_runtime": 11.6834,
|
6 |
+
"eval_samples": 500,
|
7 |
+
"eval_samples_per_second": 42.796,
|
8 |
+
"eval_steps_per_second": 5.392,
|
9 |
+
"perplexity": 7.1247254411303755
|
10 |
+
}
|
tokenizer.json
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
"direction": "Right",
|
5 |
-
"max_length": 1024,
|
6 |
-
"strategy": "LongestFirst",
|
7 |
-
"stride": 0
|
8 |
-
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"total_flos": 4.6107057930738074e+17,
|
4 |
+
"train_loss": 1.057360610961914,
|
5 |
+
"train_runtime": 8831.7737,
|
6 |
+
"train_samples": 8000,
|
7 |
+
"train_samples_per_second": 9.058,
|
8 |
+
"train_steps_per_second": 0.283
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2500,
|
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.4,
|
13 |
+
"grad_norm": 0.15738776326179504,
|
14 |
+
"learning_rate": 0.0001,
|
15 |
+
"loss": 1.5221,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.8,
|
20 |
+
"grad_norm": 0.17586949467658997,
|
21 |
+
"learning_rate": 0.0001,
|
22 |
+
"loss": 1.4596,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.0,
|
27 |
+
"eval_accuracy": 0.6758602620087336,
|
28 |
+
"eval_loss": 1.5119266510009766,
|
29 |
+
"eval_runtime": 10.6538,
|
30 |
+
"eval_samples_per_second": 46.932,
|
31 |
+
"eval_steps_per_second": 5.913,
|
32 |
+
"step": 250
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.2,
|
36 |
+
"grad_norm": 0.2267732471227646,
|
37 |
+
"learning_rate": 0.0001,
|
38 |
+
"loss": 1.4367,
|
39 |
+
"step": 300
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.6,
|
43 |
+
"grad_norm": 0.27053600549697876,
|
44 |
+
"learning_rate": 0.0001,
|
45 |
+
"loss": 1.416,
|
46 |
+
"step": 400
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 2.0,
|
50 |
+
"grad_norm": 0.24228893220424652,
|
51 |
+
"learning_rate": 0.0001,
|
52 |
+
"loss": 1.4057,
|
53 |
+
"step": 500
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 2.0,
|
57 |
+
"eval_accuracy": 0.6766957787481805,
|
58 |
+
"eval_loss": 1.5021401643753052,
|
59 |
+
"eval_runtime": 10.5752,
|
60 |
+
"eval_samples_per_second": 47.28,
|
61 |
+
"eval_steps_per_second": 5.957,
|
62 |
+
"step": 500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 2.4,
|
66 |
+
"grad_norm": 0.32249245047569275,
|
67 |
+
"learning_rate": 0.0001,
|
68 |
+
"loss": 1.333,
|
69 |
+
"step": 600
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 2.8,
|
73 |
+
"grad_norm": 0.33233705163002014,
|
74 |
+
"learning_rate": 0.0001,
|
75 |
+
"loss": 1.3267,
|
76 |
+
"step": 700
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 3.0,
|
80 |
+
"eval_accuracy": 0.6766550218340611,
|
81 |
+
"eval_loss": 1.5067318677902222,
|
82 |
+
"eval_runtime": 10.7034,
|
83 |
+
"eval_samples_per_second": 46.714,
|
84 |
+
"eval_steps_per_second": 5.886,
|
85 |
+
"step": 750
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 3.2,
|
89 |
+
"grad_norm": 0.3930753171443939,
|
90 |
+
"learning_rate": 0.0001,
|
91 |
+
"loss": 1.2809,
|
92 |
+
"step": 800
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 3.6,
|
96 |
+
"grad_norm": 0.3908335268497467,
|
97 |
+
"learning_rate": 0.0001,
|
98 |
+
"loss": 1.2272,
|
99 |
+
"step": 900
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 4.0,
|
103 |
+
"grad_norm": 0.4177429676055908,
|
104 |
+
"learning_rate": 0.0001,
|
105 |
+
"loss": 1.2354,
|
106 |
+
"step": 1000
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 4.0,
|
110 |
+
"eval_accuracy": 0.6760407569141194,
|
111 |
+
"eval_loss": 1.5289020538330078,
|
112 |
+
"eval_runtime": 10.763,
|
113 |
+
"eval_samples_per_second": 46.456,
|
114 |
+
"eval_steps_per_second": 5.853,
|
115 |
+
"step": 1000
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 4.4,
|
119 |
+
"grad_norm": 0.49195700883865356,
|
120 |
+
"learning_rate": 0.0001,
|
121 |
+
"loss": 1.1186,
|
122 |
+
"step": 1100
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 4.8,
|
126 |
+
"grad_norm": 0.5006465911865234,
|
127 |
+
"learning_rate": 0.0001,
|
128 |
+
"loss": 1.1245,
|
129 |
+
"step": 1200
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 5.0,
|
133 |
+
"eval_accuracy": 0.6744483260553129,
|
134 |
+
"eval_loss": 1.57330322265625,
|
135 |
+
"eval_runtime": 9.6986,
|
136 |
+
"eval_samples_per_second": 51.554,
|
137 |
+
"eval_steps_per_second": 6.496,
|
138 |
+
"step": 1250
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 5.2,
|
142 |
+
"grad_norm": 0.5376680493354797,
|
143 |
+
"learning_rate": 0.0001,
|
144 |
+
"loss": 1.0669,
|
145 |
+
"step": 1300
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 5.6,
|
149 |
+
"grad_norm": 0.5510832667350769,
|
150 |
+
"learning_rate": 0.0001,
|
151 |
+
"loss": 1.016,
|
152 |
+
"step": 1400
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 6.0,
|
156 |
+
"grad_norm": 0.5245699286460876,
|
157 |
+
"learning_rate": 0.0001,
|
158 |
+
"loss": 1.0235,
|
159 |
+
"step": 1500
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 6.0,
|
163 |
+
"eval_accuracy": 0.6729868995633188,
|
164 |
+
"eval_loss": 1.6228069067001343,
|
165 |
+
"eval_runtime": 11.3386,
|
166 |
+
"eval_samples_per_second": 44.097,
|
167 |
+
"eval_steps_per_second": 5.556,
|
168 |
+
"step": 1500
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 6.4,
|
172 |
+
"grad_norm": 0.6557231545448303,
|
173 |
+
"learning_rate": 0.0001,
|
174 |
+
"loss": 0.8934,
|
175 |
+
"step": 1600
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 6.8,
|
179 |
+
"grad_norm": 0.668296217918396,
|
180 |
+
"learning_rate": 0.0001,
|
181 |
+
"loss": 0.9119,
|
182 |
+
"step": 1700
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 7.0,
|
186 |
+
"eval_accuracy": 0.6708500727802038,
|
187 |
+
"eval_loss": 1.6996169090270996,
|
188 |
+
"eval_runtime": 8.9777,
|
189 |
+
"eval_samples_per_second": 55.693,
|
190 |
+
"eval_steps_per_second": 7.017,
|
191 |
+
"step": 1750
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 7.2,
|
195 |
+
"grad_norm": 0.7145330905914307,
|
196 |
+
"learning_rate": 0.0001,
|
197 |
+
"loss": 0.8453,
|
198 |
+
"step": 1800
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 7.6,
|
202 |
+
"grad_norm": 0.785029411315918,
|
203 |
+
"learning_rate": 0.0001,
|
204 |
+
"loss": 0.7869,
|
205 |
+
"step": 1900
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 8.0,
|
209 |
+
"grad_norm": 0.7093644142150879,
|
210 |
+
"learning_rate": 0.0001,
|
211 |
+
"loss": 0.8037,
|
212 |
+
"step": 2000
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 8.0,
|
216 |
+
"eval_accuracy": 0.6694614264919941,
|
217 |
+
"eval_loss": 1.771801233291626,
|
218 |
+
"eval_runtime": 12.0591,
|
219 |
+
"eval_samples_per_second": 41.462,
|
220 |
+
"eval_steps_per_second": 5.224,
|
221 |
+
"step": 2000
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 8.4,
|
225 |
+
"grad_norm": 0.8164002895355225,
|
226 |
+
"learning_rate": 0.0001,
|
227 |
+
"loss": 0.6789,
|
228 |
+
"step": 2100
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 8.8,
|
232 |
+
"grad_norm": 0.8319939374923706,
|
233 |
+
"learning_rate": 0.0001,
|
234 |
+
"loss": 0.6868,
|
235 |
+
"step": 2200
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 9.0,
|
239 |
+
"eval_accuracy": 0.6676448326055313,
|
240 |
+
"eval_loss": 1.849050521850586,
|
241 |
+
"eval_runtime": 10.8663,
|
242 |
+
"eval_samples_per_second": 46.014,
|
243 |
+
"eval_steps_per_second": 5.798,
|
244 |
+
"step": 2250
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 9.2,
|
248 |
+
"grad_norm": 0.9181467294692993,
|
249 |
+
"learning_rate": 0.0001,
|
250 |
+
"loss": 0.6431,
|
251 |
+
"step": 2300
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 9.6,
|
255 |
+
"grad_norm": 0.8400017023086548,
|
256 |
+
"learning_rate": 0.0001,
|
257 |
+
"loss": 0.5865,
|
258 |
+
"step": 2400
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 10.0,
|
262 |
+
"grad_norm": 0.9538242816925049,
|
263 |
+
"learning_rate": 0.0001,
|
264 |
+
"loss": 0.6049,
|
265 |
+
"step": 2500
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 10.0,
|
269 |
+
"eval_accuracy": 0.6657438136826783,
|
270 |
+
"eval_loss": 1.9635711908340454,
|
271 |
+
"eval_runtime": 9.0651,
|
272 |
+
"eval_samples_per_second": 55.157,
|
273 |
+
"eval_steps_per_second": 6.95,
|
274 |
+
"step": 2500
|
275 |
+
},
|
276 |
+
{
|
277 |
+
"epoch": 10.0,
|
278 |
+
"step": 2500,
|
279 |
+
"total_flos": 4.6107057930738074e+17,
|
280 |
+
"train_loss": 1.057360610961914,
|
281 |
+
"train_runtime": 8831.7737,
|
282 |
+
"train_samples_per_second": 9.058,
|
283 |
+
"train_steps_per_second": 0.283
|
284 |
+
}
|
285 |
+
],
|
286 |
+
"logging_steps": 100,
|
287 |
+
"max_steps": 2500,
|
288 |
+
"num_input_tokens_seen": 0,
|
289 |
+
"num_train_epochs": 10,
|
290 |
+
"save_steps": 500,
|
291 |
+
"total_flos": 4.6107057930738074e+17,
|
292 |
+
"train_batch_size": 1,
|
293 |
+
"trial_name": null,
|
294 |
+
"trial_params": null
|
295 |
+
}
|