Holmeister
commited on
Commit
•
0d2f9a4
1
Parent(s):
998a03f
End of training
Browse files- README.md +3 -2
- all_results.json +12 -0
- eval_results.json +7 -0
- train_results.json +8 -0
- trainer_state.json +351 -0
README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
library_name: peft
|
3 |
tags:
|
4 |
- llama-factory
|
|
|
5 |
- generated_from_trainer
|
6 |
base_model: google/gemma-7b
|
7 |
model-index:
|
@@ -14,9 +15,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# Gemma_AAID_new_mixed_train_final
|
16 |
|
17 |
-
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
2 |
library_name: peft
|
3 |
tags:
|
4 |
- llama-factory
|
5 |
+
- lora
|
6 |
- generated_from_trainer
|
7 |
base_model: google/gemma-7b
|
8 |
model-index:
|
|
|
15 |
|
16 |
# Gemma_AAID_new_mixed_train_final
|
17 |
|
18 |
+
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the AAID_new_mixed dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.6587
|
21 |
|
22 |
## Model description
|
23 |
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.21875854525567404,
|
3 |
+
"eval_loss": 0.6586877107620239,
|
4 |
+
"eval_runtime": 168.003,
|
5 |
+
"eval_samples_per_second": 28.047,
|
6 |
+
"eval_steps_per_second": 0.881,
|
7 |
+
"total_flos": 3.6702510649442304e+17,
|
8 |
+
"train_loss": 0.5889949607849121,
|
9 |
+
"train_runtime": 10495.9143,
|
10 |
+
"train_samples_per_second": 66.895,
|
11 |
+
"train_steps_per_second": 0.261
|
12 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.21875854525567404,
|
3 |
+
"eval_loss": 0.6586877107620239,
|
4 |
+
"eval_runtime": 168.003,
|
5 |
+
"eval_samples_per_second": 28.047,
|
6 |
+
"eval_steps_per_second": 0.881
|
7 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.21875854525567404,
|
3 |
+
"total_flos": 3.6702510649442304e+17,
|
4 |
+
"train_loss": 0.5889949607849121,
|
5 |
+
"train_runtime": 10495.9143,
|
6 |
+
"train_samples_per_second": 66.895,
|
7 |
+
"train_steps_per_second": 0.261
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.010937927262783703,
|
13 |
+
"grad_norm": 16.269868850708008,
|
14 |
+
"learning_rate": 0.00029999015487222375,
|
15 |
+
"loss": 3.1586,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.010937927262783703,
|
20 |
+
"eval_loss": 0.7906885147094727,
|
21 |
+
"eval_runtime": 170.0021,
|
22 |
+
"eval_samples_per_second": 27.717,
|
23 |
+
"eval_steps_per_second": 0.871,
|
24 |
+
"step": 10
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.021875854525567406,
|
28 |
+
"grad_norm": 1.8665393590927124,
|
29 |
+
"learning_rate": 0.00029996062078124905,
|
30 |
+
"loss": 0.6717,
|
31 |
+
"step": 20
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.021875854525567406,
|
35 |
+
"eval_loss": 0.7608615159988403,
|
36 |
+
"eval_runtime": 168.7111,
|
37 |
+
"eval_samples_per_second": 27.929,
|
38 |
+
"eval_steps_per_second": 0.877,
|
39 |
+
"step": 20
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.03281378178835111,
|
43 |
+
"grad_norm": 2.046764373779297,
|
44 |
+
"learning_rate": 0.0002999114016039678,
|
45 |
+
"loss": 0.5741,
|
46 |
+
"step": 30
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.03281378178835111,
|
50 |
+
"eval_loss": 0.7403788566589355,
|
51 |
+
"eval_runtime": 169.3669,
|
52 |
+
"eval_samples_per_second": 27.821,
|
53 |
+
"eval_steps_per_second": 0.874,
|
54 |
+
"step": 30
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.04375170905113481,
|
58 |
+
"grad_norm": 0.8763797879219055,
|
59 |
+
"learning_rate": 0.00029984250380130117,
|
60 |
+
"loss": 0.5809,
|
61 |
+
"step": 40
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 0.04375170905113481,
|
65 |
+
"eval_loss": 0.7739446759223938,
|
66 |
+
"eval_runtime": 169.4581,
|
67 |
+
"eval_samples_per_second": 27.806,
|
68 |
+
"eval_steps_per_second": 0.873,
|
69 |
+
"step": 40
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.05468963631391851,
|
73 |
+
"grad_norm": 1.452701449394226,
|
74 |
+
"learning_rate": 0.0002997539364173515,
|
75 |
+
"loss": 0.5313,
|
76 |
+
"step": 50
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 0.05468963631391851,
|
80 |
+
"eval_loss": 0.7001951932907104,
|
81 |
+
"eval_runtime": 169.6448,
|
82 |
+
"eval_samples_per_second": 27.776,
|
83 |
+
"eval_steps_per_second": 0.872,
|
84 |
+
"step": 50
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.06562756357670221,
|
88 |
+
"grad_norm": 2.0603904724121094,
|
89 |
+
"learning_rate": 0.00029964571107821494,
|
90 |
+
"loss": 0.4879,
|
91 |
+
"step": 60
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 0.06562756357670221,
|
95 |
+
"eval_loss": 0.7159304022789001,
|
96 |
+
"eval_runtime": 169.4832,
|
97 |
+
"eval_samples_per_second": 27.802,
|
98 |
+
"eval_steps_per_second": 0.873,
|
99 |
+
"step": 60
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.07656549083948591,
|
103 |
+
"grad_norm": 1.048985242843628,
|
104 |
+
"learning_rate": 0.00029951784199045534,
|
105 |
+
"loss": 0.4665,
|
106 |
+
"step": 70
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 0.07656549083948591,
|
110 |
+
"eval_loss": 0.7063425779342651,
|
111 |
+
"eval_runtime": 169.1768,
|
112 |
+
"eval_samples_per_second": 27.853,
|
113 |
+
"eval_steps_per_second": 0.875,
|
114 |
+
"step": 70
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.08750341810226962,
|
118 |
+
"grad_norm": 0.8847436904907227,
|
119 |
+
"learning_rate": 0.0002993703459392396,
|
120 |
+
"loss": 0.4509,
|
121 |
+
"step": 80
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.08750341810226962,
|
125 |
+
"eval_loss": 0.6991614103317261,
|
126 |
+
"eval_runtime": 169.2261,
|
127 |
+
"eval_samples_per_second": 27.844,
|
128 |
+
"eval_steps_per_second": 0.875,
|
129 |
+
"step": 80
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.09844134536505332,
|
133 |
+
"grad_norm": 1.09526789188385,
|
134 |
+
"learning_rate": 0.00029920324228613376,
|
135 |
+
"loss": 0.4542,
|
136 |
+
"step": 90
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.09844134536505332,
|
140 |
+
"eval_loss": 0.6915357708930969,
|
141 |
+
"eval_runtime": 169.6804,
|
142 |
+
"eval_samples_per_second": 27.77,
|
143 |
+
"eval_steps_per_second": 0.872,
|
144 |
+
"step": 90
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 0.10937927262783702,
|
148 |
+
"grad_norm": 0.9263470768928528,
|
149 |
+
"learning_rate": 0.0002990165529665622,
|
150 |
+
"loss": 0.4188,
|
151 |
+
"step": 100
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 0.10937927262783702,
|
155 |
+
"eval_loss": 0.6586877107620239,
|
156 |
+
"eval_runtime": 169.6821,
|
157 |
+
"eval_samples_per_second": 27.77,
|
158 |
+
"eval_steps_per_second": 0.872,
|
159 |
+
"step": 100
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.12031719989062073,
|
163 |
+
"grad_norm": 1.2452396154403687,
|
164 |
+
"learning_rate": 0.0002988103024869277,
|
165 |
+
"loss": 0.4131,
|
166 |
+
"step": 110
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 0.12031719989062073,
|
170 |
+
"eval_loss": 0.6637363433837891,
|
171 |
+
"eval_runtime": 169.6991,
|
172 |
+
"eval_samples_per_second": 27.767,
|
173 |
+
"eval_steps_per_second": 0.872,
|
174 |
+
"step": 110
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 0.13125512715340443,
|
178 |
+
"grad_norm": 0.8261873722076416,
|
179 |
+
"learning_rate": 0.00029858451792139453,
|
180 |
+
"loss": 0.4137,
|
181 |
+
"step": 120
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 0.13125512715340443,
|
185 |
+
"eval_loss": 0.6902170181274414,
|
186 |
+
"eval_runtime": 169.6732,
|
187 |
+
"eval_samples_per_second": 27.771,
|
188 |
+
"eval_steps_per_second": 0.872,
|
189 |
+
"step": 120
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 0.14219305441618812,
|
193 |
+
"grad_norm": 0.6665583848953247,
|
194 |
+
"learning_rate": 0.0002983392289083346,
|
195 |
+
"loss": 0.4087,
|
196 |
+
"step": 130
|
197 |
+
},
|
198 |
+
{
|
199 |
+
"epoch": 0.14219305441618812,
|
200 |
+
"eval_loss": 0.6948944330215454,
|
201 |
+
"eval_runtime": 169.5204,
|
202 |
+
"eval_samples_per_second": 27.796,
|
203 |
+
"eval_steps_per_second": 0.873,
|
204 |
+
"step": 130
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 0.15313098167897182,
|
208 |
+
"grad_norm": 0.841665506362915,
|
209 |
+
"learning_rate": 0.0002980744676464371,
|
210 |
+
"loss": 0.3968,
|
211 |
+
"step": 140
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"epoch": 0.15313098167897182,
|
215 |
+
"eval_loss": 0.6712561845779419,
|
216 |
+
"eval_runtime": 169.6453,
|
217 |
+
"eval_samples_per_second": 27.776,
|
218 |
+
"eval_steps_per_second": 0.872,
|
219 |
+
"step": 140
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.16406890894175555,
|
223 |
+
"grad_norm": 1.1116673946380615,
|
224 |
+
"learning_rate": 0.0002977902688904813,
|
225 |
+
"loss": 0.4048,
|
226 |
+
"step": 150
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.16406890894175555,
|
230 |
+
"eval_loss": 0.6878468990325928,
|
231 |
+
"eval_runtime": 169.3026,
|
232 |
+
"eval_samples_per_second": 27.832,
|
233 |
+
"eval_steps_per_second": 0.874,
|
234 |
+
"step": 150
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 0.17500683620453925,
|
238 |
+
"grad_norm": 0.7878606915473938,
|
239 |
+
"learning_rate": 0.00029748666994677467,
|
240 |
+
"loss": 0.3953,
|
241 |
+
"step": 160
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 0.17500683620453925,
|
245 |
+
"eval_loss": 0.6906653642654419,
|
246 |
+
"eval_runtime": 168.3921,
|
247 |
+
"eval_samples_per_second": 27.982,
|
248 |
+
"eval_steps_per_second": 0.879,
|
249 |
+
"step": 160
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 0.18594476346732294,
|
253 |
+
"grad_norm": 0.9028112888336182,
|
254 |
+
"learning_rate": 0.00029716371066825593,
|
255 |
+
"loss": 0.3873,
|
256 |
+
"step": 170
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"epoch": 0.18594476346732294,
|
260 |
+
"eval_loss": 0.6937726140022278,
|
261 |
+
"eval_runtime": 169.1341,
|
262 |
+
"eval_samples_per_second": 27.86,
|
263 |
+
"eval_steps_per_second": 0.875,
|
264 |
+
"step": 170
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 0.19688269073010664,
|
268 |
+
"grad_norm": 0.797646701335907,
|
269 |
+
"learning_rate": 0.0002968214334492632,
|
270 |
+
"loss": 0.3821,
|
271 |
+
"step": 180
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"epoch": 0.19688269073010664,
|
275 |
+
"eval_loss": 0.684823751449585,
|
276 |
+
"eval_runtime": 169.2007,
|
277 |
+
"eval_samples_per_second": 27.849,
|
278 |
+
"eval_steps_per_second": 0.875,
|
279 |
+
"step": 180
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 0.20782061799289034,
|
283 |
+
"grad_norm": 0.7943875193595886,
|
284 |
+
"learning_rate": 0.00029645988321996917,
|
285 |
+
"loss": 0.394,
|
286 |
+
"step": 190
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"epoch": 0.20782061799289034,
|
290 |
+
"eval_loss": 0.7038875222206116,
|
291 |
+
"eval_runtime": 169.1579,
|
292 |
+
"eval_samples_per_second": 27.856,
|
293 |
+
"eval_steps_per_second": 0.875,
|
294 |
+
"step": 190
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"epoch": 0.21875854525567404,
|
298 |
+
"grad_norm": 0.797392725944519,
|
299 |
+
"learning_rate": 0.00029607910744048336,
|
300 |
+
"loss": 0.3893,
|
301 |
+
"step": 200
|
302 |
+
},
|
303 |
+
{
|
304 |
+
"epoch": 0.21875854525567404,
|
305 |
+
"eval_loss": 0.6831381916999817,
|
306 |
+
"eval_runtime": 169.2814,
|
307 |
+
"eval_samples_per_second": 27.835,
|
308 |
+
"eval_steps_per_second": 0.874,
|
309 |
+
"step": 200
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"epoch": 0.21875854525567404,
|
313 |
+
"step": 200,
|
314 |
+
"total_flos": 3.6702510649442304e+17,
|
315 |
+
"train_loss": 0.5889949607849121,
|
316 |
+
"train_runtime": 10495.9143,
|
317 |
+
"train_samples_per_second": 66.895,
|
318 |
+
"train_steps_per_second": 0.261
|
319 |
+
}
|
320 |
+
],
|
321 |
+
"logging_steps": 10,
|
322 |
+
"max_steps": 2742,
|
323 |
+
"num_input_tokens_seen": 0,
|
324 |
+
"num_train_epochs": 3,
|
325 |
+
"save_steps": 10,
|
326 |
+
"stateful_callbacks": {
|
327 |
+
"EarlyStoppingCallback": {
|
328 |
+
"args": {
|
329 |
+
"early_stopping_patience": 10,
|
330 |
+
"early_stopping_threshold": 0.0
|
331 |
+
},
|
332 |
+
"attributes": {
|
333 |
+
"early_stopping_patience_counter": 0
|
334 |
+
}
|
335 |
+
},
|
336 |
+
"TrainerControl": {
|
337 |
+
"args": {
|
338 |
+
"should_epoch_stop": false,
|
339 |
+
"should_evaluate": false,
|
340 |
+
"should_log": false,
|
341 |
+
"should_save": true,
|
342 |
+
"should_training_stop": true
|
343 |
+
},
|
344 |
+
"attributes": {}
|
345 |
+
}
|
346 |
+
},
|
347 |
+
"total_flos": 3.6702510649442304e+17,
|
348 |
+
"train_batch_size": 32,
|
349 |
+
"trial_name": null,
|
350 |
+
"trial_params": null
|
351 |
+
}
|