MHGanainy/best-performing-clustering-7
Browse files- README.md +2 -0
- all_results.json +13 -0
- eval_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +336 -0
README.md
CHANGED
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
# best-performing-clustering-7
|
16 |
|
17 |
This model is a fine-tuned version of [openai-community/gpt2-xl](https://huggingface.co/openai-community/gpt2-xl) on an unknown dataset.
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
|
|
15 |
# best-performing-clustering-7
|
16 |
|
17 |
This model is a fine-tuned version of [openai-community/gpt2-xl](https://huggingface.co/openai-community/gpt2-xl) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.8230
|
20 |
|
21 |
## Model description
|
22 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.8229724168777466,
|
4 |
+
"eval_runtime": 65.6293,
|
5 |
+
"eval_samples_per_second": 10.895,
|
6 |
+
"eval_steps_per_second": 1.371,
|
7 |
+
"perplexity": 6.190231078134954,
|
8 |
+
"total_flos": 7.717588795392e+16,
|
9 |
+
"train_loss": 1.9823122004278713,
|
10 |
+
"train_runtime": 2216.0595,
|
11 |
+
"train_samples_per_second": 3.824,
|
12 |
+
"train_steps_per_second": 1.912
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.8229724168777466,
|
4 |
+
"eval_runtime": 65.6293,
|
5 |
+
"eval_samples_per_second": 10.895,
|
6 |
+
"eval_steps_per_second": 1.371,
|
7 |
+
"perplexity": 6.190231078134954
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 4237,
|
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.023601604909133822,
|
13 |
+
"grad_norm": 0.10703875869512558,
|
14 |
+
"learning_rate": 6.666666666666667e-06,
|
15 |
+
"loss": 2.4126,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.047203209818267644,
|
20 |
+
"grad_norm": 0.20992980897426605,
|
21 |
+
"learning_rate": 1.3333333333333333e-05,
|
22 |
+
"loss": 2.3493,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.07080481472740147,
|
27 |
+
"grad_norm": 0.38506367802619934,
|
28 |
+
"learning_rate": 2e-05,
|
29 |
+
"loss": 2.2884,
|
30 |
+
"step": 300
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.09440641963653529,
|
34 |
+
"grad_norm": 0.5256543159484863,
|
35 |
+
"learning_rate": 1.9968179392958305e-05,
|
36 |
+
"loss": 2.2043,
|
37 |
+
"step": 400
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.11800802454566911,
|
41 |
+
"grad_norm": 0.5416532158851624,
|
42 |
+
"learning_rate": 1.987292008203972e-05,
|
43 |
+
"loss": 2.1605,
|
44 |
+
"step": 500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.14160962945480293,
|
48 |
+
"grad_norm": 0.6629260778427124,
|
49 |
+
"learning_rate": 1.9714828309064202e-05,
|
50 |
+
"loss": 2.138,
|
51 |
+
"step": 600
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.16521123436393675,
|
55 |
+
"grad_norm": 0.7280109524726868,
|
56 |
+
"learning_rate": 1.9494910189268627e-05,
|
57 |
+
"loss": 2.091,
|
58 |
+
"step": 700
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.18881283927307058,
|
62 |
+
"grad_norm": 0.8726409673690796,
|
63 |
+
"learning_rate": 1.921456530826727e-05,
|
64 |
+
"loss": 2.0719,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.2124144441822044,
|
69 |
+
"grad_norm": 0.786993145942688,
|
70 |
+
"learning_rate": 1.8875577814919035e-05,
|
71 |
+
"loss": 2.0387,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.23601604909133822,
|
76 |
+
"grad_norm": 0.7426193952560425,
|
77 |
+
"learning_rate": 1.848010506678749e-05,
|
78 |
+
"loss": 2.0183,
|
79 |
+
"step": 1000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.25961765400047204,
|
83 |
+
"grad_norm": 0.9175330996513367,
|
84 |
+
"learning_rate": 1.803066390045544e-05,
|
85 |
+
"loss": 2.045,
|
86 |
+
"step": 1100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.28321925890960586,
|
90 |
+
"grad_norm": 0.795050859451294,
|
91 |
+
"learning_rate": 1.753011461407132e-05,
|
92 |
+
"loss": 2.0278,
|
93 |
+
"step": 1200
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.3068208638187397,
|
97 |
+
"grad_norm": 0.9610442519187927,
|
98 |
+
"learning_rate": 1.6981642764064544e-05,
|
99 |
+
"loss": 2.0395,
|
100 |
+
"step": 1300
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.3304224687278735,
|
104 |
+
"grad_norm": 0.863545298576355,
|
105 |
+
"learning_rate": 1.6388738891877607e-05,
|
106 |
+
"loss": 2.0042,
|
107 |
+
"step": 1400
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.35402407363700733,
|
111 |
+
"grad_norm": 1.0420805215835571,
|
112 |
+
"learning_rate": 1.5755176309736586e-05,
|
113 |
+
"loss": 1.9713,
|
114 |
+
"step": 1500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.37762567854614115,
|
118 |
+
"grad_norm": 1.0546514987945557,
|
119 |
+
"learning_rate": 1.5084987086834003e-05,
|
120 |
+
"loss": 1.968,
|
121 |
+
"step": 1600
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.401227283455275,
|
125 |
+
"grad_norm": 0.8405762910842896,
|
126 |
+
"learning_rate": 1.4382436388750968e-05,
|
127 |
+
"loss": 1.9442,
|
128 |
+
"step": 1700
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.4248288883644088,
|
132 |
+
"grad_norm": 1.089908480644226,
|
133 |
+
"learning_rate": 1.36519953334256e-05,
|
134 |
+
"loss": 1.908,
|
135 |
+
"step": 1800
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.4484304932735426,
|
139 |
+
"grad_norm": 1.351189136505127,
|
140 |
+
"learning_rate": 1.2898312536415628e-05,
|
141 |
+
"loss": 1.9473,
|
142 |
+
"step": 1900
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.47203209818267644,
|
146 |
+
"grad_norm": 0.981865406036377,
|
147 |
+
"learning_rate": 1.2126184526544591e-05,
|
148 |
+
"loss": 1.9577,
|
149 |
+
"step": 2000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.49563370309181026,
|
153 |
+
"grad_norm": 0.9919114708900452,
|
154 |
+
"learning_rate": 1.1340525220210092e-05,
|
155 |
+
"loss": 1.9136,
|
156 |
+
"step": 2100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.5192353080009441,
|
160 |
+
"grad_norm": 1.1692713499069214,
|
161 |
+
"learning_rate": 1.0546334648623235e-05,
|
162 |
+
"loss": 1.9127,
|
163 |
+
"step": 2200
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.5428369129100779,
|
167 |
+
"grad_norm": 1.028548240661621,
|
168 |
+
"learning_rate": 9.748667137002961e-06,
|
169 |
+
"loss": 1.8947,
|
170 |
+
"step": 2300
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.5664385178192117,
|
174 |
+
"grad_norm": 1.3835196495056152,
|
175 |
+
"learning_rate": 8.9525991382367e-06,
|
176 |
+
"loss": 1.9242,
|
177 |
+
"step": 2400
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.5900401227283455,
|
181 |
+
"grad_norm": 1.0017223358154297,
|
182 |
+
"learning_rate": 8.163196925717906e-06,
|
183 |
+
"loss": 1.9241,
|
184 |
+
"step": 2500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.6136417276374794,
|
188 |
+
"grad_norm": 1.3177546262741089,
|
189 |
+
"learning_rate": 7.385484350967048e-06,
|
190 |
+
"loss": 1.8967,
|
191 |
+
"step": 2600
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.6372433325466131,
|
195 |
+
"grad_norm": 1.2489763498306274,
|
196 |
+
"learning_rate": 6.6244108712306435e-06,
|
197 |
+
"loss": 1.9141,
|
198 |
+
"step": 2700
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.660844937455747,
|
202 |
+
"grad_norm": 1.4832775592803955,
|
203 |
+
"learning_rate": 5.884820050534392e-06,
|
204 |
+
"loss": 1.8921,
|
205 |
+
"step": 2800
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.6844465423648808,
|
209 |
+
"grad_norm": 1.0875434875488281,
|
210 |
+
"learning_rate": 5.171418734653707e-06,
|
211 |
+
"loss": 1.8483,
|
212 |
+
"step": 2900
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.7080481472740147,
|
216 |
+
"grad_norm": 1.1204584836959839,
|
217 |
+
"learning_rate": 4.488747096175717e-06,
|
218 |
+
"loss": 1.8557,
|
219 |
+
"step": 3000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.7316497521831484,
|
223 |
+
"grad_norm": 0.9455496072769165,
|
224 |
+
"learning_rate": 3.841149740289725e-06,
|
225 |
+
"loss": 1.8695,
|
226 |
+
"step": 3100
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.7552513570922823,
|
230 |
+
"grad_norm": 0.9588963389396667,
|
231 |
+
"learning_rate": 3.2327480551923107e-06,
|
232 |
+
"loss": 1.9,
|
233 |
+
"step": 3200
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.7788529620014161,
|
237 |
+
"grad_norm": 0.9655967354774475,
|
238 |
+
"learning_rate": 2.6674139830724722e-06,
|
239 |
+
"loss": 1.9159,
|
240 |
+
"step": 3300
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.80245456691055,
|
244 |
+
"grad_norm": 1.3765445947647095,
|
245 |
+
"learning_rate": 2.1487453786014513e-06,
|
246 |
+
"loss": 1.8497,
|
247 |
+
"step": 3400
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.8260561718196837,
|
251 |
+
"grad_norm": 1.257179617881775,
|
252 |
+
"learning_rate": 1.6800431117487958e-06,
|
253 |
+
"loss": 1.8931,
|
254 |
+
"step": 3500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.8496577767288176,
|
258 |
+
"grad_norm": 1.1668704748153687,
|
259 |
+
"learning_rate": 1.2642900606451148e-06,
|
260 |
+
"loss": 1.8853,
|
261 |
+
"step": 3600
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.8732593816379514,
|
265 |
+
"grad_norm": 1.0066955089569092,
|
266 |
+
"learning_rate": 9.04132128183528e-07,
|
267 |
+
"loss": 1.8997,
|
268 |
+
"step": 3700
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.8968609865470852,
|
272 |
+
"grad_norm": 1.234889030456543,
|
273 |
+
"learning_rate": 6.018614031723913e-07,
|
274 |
+
"loss": 1.8899,
|
275 |
+
"step": 3800
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.920462591456219,
|
279 |
+
"grad_norm": 1.4220229387283325,
|
280 |
+
"learning_rate": 3.594015732038625e-07,
|
281 |
+
"loss": 1.91,
|
282 |
+
"step": 3900
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.9440641963653529,
|
286 |
+
"grad_norm": 1.0287963151931763,
|
287 |
+
"learning_rate": 1.7829568207250902e-07,
|
288 |
+
"loss": 1.8958,
|
289 |
+
"step": 4000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.9676658012744866,
|
293 |
+
"grad_norm": 0.9667606949806213,
|
294 |
+
"learning_rate": 5.969630965725448e-08,
|
295 |
+
"loss": 1.9538,
|
296 |
+
"step": 4100
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.9912674061836205,
|
300 |
+
"grad_norm": 1.3044230937957764,
|
301 |
+
"learning_rate": 4.3582367631034295e-09,
|
302 |
+
"loss": 1.8733,
|
303 |
+
"step": 4200
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 1.0,
|
307 |
+
"step": 4237,
|
308 |
+
"total_flos": 7.717588795392e+16,
|
309 |
+
"train_loss": 1.9823122004278713,
|
310 |
+
"train_runtime": 2216.0595,
|
311 |
+
"train_samples_per_second": 3.824,
|
312 |
+
"train_steps_per_second": 1.912
|
313 |
+
}
|
314 |
+
],
|
315 |
+
"logging_steps": 100,
|
316 |
+
"max_steps": 4237,
|
317 |
+
"num_input_tokens_seen": 0,
|
318 |
+
"num_train_epochs": 1,
|
319 |
+
"save_steps": 500,
|
320 |
+
"stateful_callbacks": {
|
321 |
+
"TrainerControl": {
|
322 |
+
"args": {
|
323 |
+
"should_epoch_stop": false,
|
324 |
+
"should_evaluate": false,
|
325 |
+
"should_log": false,
|
326 |
+
"should_save": true,
|
327 |
+
"should_training_stop": true
|
328 |
+
},
|
329 |
+
"attributes": {}
|
330 |
+
}
|
331 |
+
},
|
332 |
+
"total_flos": 7.717588795392e+16,
|
333 |
+
"train_batch_size": 2,
|
334 |
+
"trial_name": null,
|
335 |
+
"trial_params": null
|
336 |
+
}
|