End of training
Browse files- README.md +14 -2
- all_results.json +15 -0
- eval_results.json +10 -0
- tokenizer.json +1 -6
- train_results.json +8 -0
- trainer_state.json +274 -0
README.md
CHANGED
@@ -3,11 +3,23 @@ license: llama2
|
|
3 |
base_model: meta-llama/Llama-2-7b-hf
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: lmind_hotpot_train8000_eval7405_v1_qa_meta-llama_Llama-2-7b-hf_lora2
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -15,7 +27,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# lmind_hotpot_train8000_eval7405_v1_qa_meta-llama_Llama-2-7b-hf_lora2
|
17 |
|
18 |
-
This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on
|
19 |
It achieves the following results on the evaluation set:
|
20 |
- Loss: 2.8216
|
21 |
- Accuracy: 0.5903
|
|
|
3 |
base_model: meta-llama/Llama-2-7b-hf
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- tyzhu/lmind_hotpot_train8000_eval7405_v1_qa
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
11 |
- name: lmind_hotpot_train8000_eval7405_v1_qa_meta-llama_Llama-2-7b-hf_lora2
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Causal Language Modeling
|
15 |
+
type: text-generation
|
16 |
+
dataset:
|
17 |
+
name: tyzhu/lmind_hotpot_train8000_eval7405_v1_qa
|
18 |
+
type: tyzhu/lmind_hotpot_train8000_eval7405_v1_qa
|
19 |
+
metrics:
|
20 |
+
- name: Accuracy
|
21 |
+
type: accuracy
|
22 |
+
value: 0.5903037974683545
|
23 |
---
|
24 |
|
25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
27 |
|
28 |
# lmind_hotpot_train8000_eval7405_v1_qa_meta-llama_Llama-2-7b-hf_lora2
|
29 |
|
30 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the tyzhu/lmind_hotpot_train8000_eval7405_v1_qa dataset.
|
31 |
It achieves the following results on the evaluation set:
|
32 |
- Loss: 2.8216
|
33 |
- Accuracy: 0.5903
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.5903037974683545,
|
4 |
+
"eval_loss": 2.8216025829315186,
|
5 |
+
"eval_runtime": 4.5487,
|
6 |
+
"eval_samples": 500,
|
7 |
+
"eval_samples_per_second": 109.921,
|
8 |
+
"eval_steps_per_second": 13.85,
|
9 |
+
"perplexity": 16.8037585219432,
|
10 |
+
"train_loss": 0.8466211395263672,
|
11 |
+
"train_runtime": 1749.1622,
|
12 |
+
"train_samples": 8000,
|
13 |
+
"train_samples_per_second": 45.736,
|
14 |
+
"train_steps_per_second": 1.429
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.5903037974683545,
|
4 |
+
"eval_loss": 2.8216025829315186,
|
5 |
+
"eval_runtime": 4.5487,
|
6 |
+
"eval_samples": 500,
|
7 |
+
"eval_samples_per_second": 109.921,
|
8 |
+
"eval_steps_per_second": 13.85,
|
9 |
+
"perplexity": 16.8037585219432
|
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,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"train_loss": 0.8466211395263672,
|
4 |
+
"train_runtime": 1749.1622,
|
5 |
+
"train_samples": 8000,
|
6 |
+
"train_samples_per_second": 45.736,
|
7 |
+
"train_steps_per_second": 1.429
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"learning_rate": 0.0001,
|
14 |
+
"loss": 2.0275,
|
15 |
+
"step": 100
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.8,
|
19 |
+
"learning_rate": 0.0001,
|
20 |
+
"loss": 1.7795,
|
21 |
+
"step": 200
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.0,
|
25 |
+
"eval_accuracy": 0.6075443037974684,
|
26 |
+
"eval_loss": 1.8062162399291992,
|
27 |
+
"eval_runtime": 23.0836,
|
28 |
+
"eval_samples_per_second": 21.66,
|
29 |
+
"eval_steps_per_second": 2.729,
|
30 |
+
"step": 250
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.0,
|
34 |
+
"eval_exact_match": 23.686698176907495,
|
35 |
+
"eval_f1": 33.6125461509162,
|
36 |
+
"step": 250
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.2,
|
40 |
+
"learning_rate": 0.0001,
|
41 |
+
"loss": 1.66,
|
42 |
+
"step": 300
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.6,
|
46 |
+
"learning_rate": 0.0001,
|
47 |
+
"loss": 1.6532,
|
48 |
+
"step": 400
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 2.0,
|
52 |
+
"learning_rate": 0.0001,
|
53 |
+
"loss": 1.6437,
|
54 |
+
"step": 500
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 2.0,
|
58 |
+
"eval_accuracy": 0.6077215189873417,
|
59 |
+
"eval_loss": 1.8113620281219482,
|
60 |
+
"eval_runtime": 4.6236,
|
61 |
+
"eval_samples_per_second": 108.141,
|
62 |
+
"eval_steps_per_second": 13.626,
|
63 |
+
"step": 500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 2.4,
|
67 |
+
"learning_rate": 0.0001,
|
68 |
+
"loss": 1.438,
|
69 |
+
"step": 600
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 2.8,
|
73 |
+
"learning_rate": 0.0001,
|
74 |
+
"loss": 1.4652,
|
75 |
+
"step": 700
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 3.0,
|
79 |
+
"eval_accuracy": 0.6060759493670886,
|
80 |
+
"eval_loss": 1.8674805164337158,
|
81 |
+
"eval_runtime": 4.715,
|
82 |
+
"eval_samples_per_second": 106.043,
|
83 |
+
"eval_steps_per_second": 13.361,
|
84 |
+
"step": 750
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 3.2,
|
88 |
+
"learning_rate": 0.0001,
|
89 |
+
"loss": 1.3476,
|
90 |
+
"step": 800
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 3.6,
|
94 |
+
"learning_rate": 0.0001,
|
95 |
+
"loss": 1.2363,
|
96 |
+
"step": 900
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 4.0,
|
100 |
+
"learning_rate": 0.0001,
|
101 |
+
"loss": 1.2631,
|
102 |
+
"step": 1000
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 4.0,
|
106 |
+
"eval_accuracy": 0.6029873417721519,
|
107 |
+
"eval_loss": 1.9842653274536133,
|
108 |
+
"eval_runtime": 4.5617,
|
109 |
+
"eval_samples_per_second": 109.607,
|
110 |
+
"eval_steps_per_second": 13.811,
|
111 |
+
"step": 1000
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 4.4,
|
115 |
+
"learning_rate": 0.0001,
|
116 |
+
"loss": 1.0182,
|
117 |
+
"step": 1100
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 4.8,
|
121 |
+
"learning_rate": 0.0001,
|
122 |
+
"loss": 1.0724,
|
123 |
+
"step": 1200
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 5.0,
|
127 |
+
"eval_accuracy": 0.600126582278481,
|
128 |
+
"eval_loss": 2.092109441757202,
|
129 |
+
"eval_runtime": 4.6632,
|
130 |
+
"eval_samples_per_second": 107.223,
|
131 |
+
"eval_steps_per_second": 13.51,
|
132 |
+
"step": 1250
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 5.2,
|
136 |
+
"learning_rate": 0.0001,
|
137 |
+
"loss": 0.9575,
|
138 |
+
"step": 1300
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 5.6,
|
142 |
+
"learning_rate": 0.0001,
|
143 |
+
"loss": 0.8617,
|
144 |
+
"step": 1400
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 6.0,
|
148 |
+
"learning_rate": 0.0001,
|
149 |
+
"loss": 0.8917,
|
150 |
+
"step": 1500
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 6.0,
|
154 |
+
"eval_accuracy": 0.5973164556962025,
|
155 |
+
"eval_loss": 2.2463245391845703,
|
156 |
+
"eval_runtime": 4.7168,
|
157 |
+
"eval_samples_per_second": 106.004,
|
158 |
+
"eval_steps_per_second": 13.357,
|
159 |
+
"step": 1500
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 6.4,
|
163 |
+
"learning_rate": 0.0001,
|
164 |
+
"loss": 0.6818,
|
165 |
+
"step": 1600
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 6.8,
|
169 |
+
"learning_rate": 0.0001,
|
170 |
+
"loss": 0.7235,
|
171 |
+
"step": 1700
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 7.0,
|
175 |
+
"eval_accuracy": 0.5943291139240506,
|
176 |
+
"eval_loss": 2.4073448181152344,
|
177 |
+
"eval_runtime": 4.8002,
|
178 |
+
"eval_samples_per_second": 104.162,
|
179 |
+
"eval_steps_per_second": 13.124,
|
180 |
+
"step": 1750
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 7.2,
|
184 |
+
"learning_rate": 0.0001,
|
185 |
+
"loss": 0.6412,
|
186 |
+
"step": 1800
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 7.6,
|
190 |
+
"learning_rate": 0.0001,
|
191 |
+
"loss": 0.575,
|
192 |
+
"step": 1900
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 8.0,
|
196 |
+
"learning_rate": 0.0001,
|
197 |
+
"loss": 0.5997,
|
198 |
+
"step": 2000
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 8.0,
|
202 |
+
"eval_accuracy": 0.5931392405063292,
|
203 |
+
"eval_loss": 2.573843240737915,
|
204 |
+
"eval_runtime": 5.5843,
|
205 |
+
"eval_samples_per_second": 89.537,
|
206 |
+
"eval_steps_per_second": 11.282,
|
207 |
+
"step": 2000
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 8.4,
|
211 |
+
"learning_rate": 0.0001,
|
212 |
+
"loss": 0.4636,
|
213 |
+
"step": 2100
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 8.8,
|
217 |
+
"learning_rate": 0.0001,
|
218 |
+
"loss": 0.4943,
|
219 |
+
"step": 2200
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 9.0,
|
223 |
+
"eval_accuracy": 0.5905316455696202,
|
224 |
+
"eval_loss": 2.6983227729797363,
|
225 |
+
"eval_runtime": 4.93,
|
226 |
+
"eval_samples_per_second": 101.42,
|
227 |
+
"eval_steps_per_second": 12.779,
|
228 |
+
"step": 2250
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 9.2,
|
232 |
+
"learning_rate": 0.0001,
|
233 |
+
"loss": 0.4472,
|
234 |
+
"step": 2300
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 9.6,
|
238 |
+
"learning_rate": 0.0001,
|
239 |
+
"loss": 0.4226,
|
240 |
+
"step": 2400
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 10.0,
|
244 |
+
"learning_rate": 0.0001,
|
245 |
+
"loss": 0.4381,
|
246 |
+
"step": 2500
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 10.0,
|
250 |
+
"eval_accuracy": 0.5903037974683545,
|
251 |
+
"eval_loss": 2.8216025829315186,
|
252 |
+
"eval_runtime": 4.647,
|
253 |
+
"eval_samples_per_second": 107.597,
|
254 |
+
"eval_steps_per_second": 13.557,
|
255 |
+
"step": 2500
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 10.0,
|
259 |
+
"step": 2500,
|
260 |
+
"total_flos": 1.6603500238497382e+17,
|
261 |
+
"train_loss": 0.8466211395263672,
|
262 |
+
"train_runtime": 1749.1622,
|
263 |
+
"train_samples_per_second": 45.736,
|
264 |
+
"train_steps_per_second": 1.429
|
265 |
+
}
|
266 |
+
],
|
267 |
+
"logging_steps": 100,
|
268 |
+
"max_steps": 2500,
|
269 |
+
"num_train_epochs": 10,
|
270 |
+
"save_steps": 500,
|
271 |
+
"total_flos": 1.6603500238497382e+17,
|
272 |
+
"trial_name": null,
|
273 |
+
"trial_params": null
|
274 |
+
}
|