AlekseyKorshuk
commited on
Commit
•
bcacd40
1
Parent(s):
e118768
huggingartists
Browse files- README.md +3 -3
- config.json +4 -2
- evaluation.txt +1 -1
- flax_model.msgpack +1 -1
- optimizer.pt +1 -1
- pytorch_model.bin +1 -1
- rng_state.pth +1 -1
- scheduler.pt +1 -1
- tokenizer.json +0 -0
- trainer_state.json +123 -7
- training_args.bin +2 -2
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/morgenshtern")
|
46 |
```
|
47 |
|
48 |
-
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/
|
49 |
|
50 |
## Training procedure
|
51 |
|
52 |
The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on MORGENSHTERN's lyrics.
|
53 |
|
54 |
-
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/
|
55 |
|
56 |
-
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/
|
57 |
|
58 |
## How to use
|
59 |
|
|
|
45 |
dataset = load_dataset("huggingartists/morgenshtern")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/29htvpbu/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
|
49 |
|
50 |
## Training procedure
|
51 |
|
52 |
The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on MORGENSHTERN's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/m6tldjdu) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/m6tldjdu/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
@@ -18,7 +18,9 @@
|
|
18 |
"n_inner": null,
|
19 |
"n_layer": 12,
|
20 |
"n_positions": 1024,
|
|
|
21 |
"resid_pdrop": 0.1,
|
|
|
22 |
"scale_attn_weights": true,
|
23 |
"summary_activation": null,
|
24 |
"summary_first_dropout": 0.1,
|
@@ -35,7 +37,7 @@
|
|
35 |
}
|
36 |
},
|
37 |
"torch_dtype": "float32",
|
38 |
-
"transformers_version": "4.
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "morgenshtern",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
18 |
"n_inner": null,
|
19 |
"n_layer": 12,
|
20 |
"n_positions": 1024,
|
21 |
+
"reorder_and_upcast_attn": false,
|
22 |
"resid_pdrop": 0.1,
|
23 |
+
"scale_attn_by_inverse_layer_idx": false,
|
24 |
"scale_attn_weights": true,
|
25 |
"summary_activation": null,
|
26 |
"summary_first_dropout": 0.1,
|
|
|
37 |
}
|
38 |
},
|
39 |
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.16.2",
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 50257
|
43 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 0.
|
|
|
1 |
+
{"eval_loss": 0.6951560974121094, "eval_runtime": 6.9424, "eval_samples_per_second": 20.598, "eval_steps_per_second": 2.593, "epoch": 3.0}
|
flax_model.msgpack
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497764120
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd5ea8451fb818bbbf19558ab096fa4f81596c541e2622568412ebf5daf0efd2
|
3 |
size 497764120
|
optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 995604017
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4755f815eb61413dfd1b66a9a03a2b2eb842a2b33d9bff4a55141c7a91df9bf
|
3 |
size 995604017
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 510403817
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dc86c1d0e5ed8e708b41cbb9b119c5960c259dba079c2cee589bb9afa77c5ca
|
3 |
size 510403817
|
rng_state.pth
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14503
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8dfdfe168c690fdd51fc3442227da71ee0a9fd24f3602c5faf62e0fb7e6e7755
|
3 |
size 14503
|
scheduler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 623
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f889ee048c975721acd46c969685ee09ff3f7ad66edbe67905c8a29f4eede81b
|
3 |
size 623
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "output/morgenshtern/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -262,11 +262,127 @@
|
|
262 |
"eval_samples_per_second": 22.717,
|
263 |
"eval_steps_per_second": 2.955,
|
264 |
"step": 202
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
}
|
266 |
],
|
267 |
-
"max_steps":
|
268 |
-
"num_train_epochs":
|
269 |
-
"total_flos":
|
270 |
"trial_name": null,
|
271 |
"trial_params": null
|
272 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.6951560974121094,
|
3 |
+
"best_model_checkpoint": "output/morgenshtern/checkpoint-294",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 294,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
262 |
"eval_samples_per_second": 22.717,
|
263 |
"eval_steps_per_second": 2.955,
|
264 |
"step": 202
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 2.09,
|
268 |
+
"learning_rate": 0.00013663679494827462,
|
269 |
+
"loss": 0.8056,
|
270 |
+
"step": 205
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"epoch": 2.14,
|
274 |
+
"learning_rate": 0.00013436461471831498,
|
275 |
+
"loss": 0.8153,
|
276 |
+
"step": 210
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 2.19,
|
280 |
+
"learning_rate": 0.00013040646433810593,
|
281 |
+
"loss": 0.8439,
|
282 |
+
"step": 215
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 2.24,
|
286 |
+
"learning_rate": 0.00012486381666535154,
|
287 |
+
"loss": 0.8468,
|
288 |
+
"step": 220
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"epoch": 2.3,
|
292 |
+
"learning_rate": 0.00011787876541670438,
|
293 |
+
"loss": 0.9434,
|
294 |
+
"step": 225
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"epoch": 2.35,
|
298 |
+
"learning_rate": 0.00010963038239169752,
|
299 |
+
"loss": 0.9117,
|
300 |
+
"step": 230
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 2.4,
|
304 |
+
"learning_rate": 0.0001003301267105212,
|
305 |
+
"loss": 0.9685,
|
306 |
+
"step": 235
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 2.45,
|
310 |
+
"learning_rate": 9.021642375642094e-05,
|
311 |
+
"loss": 0.8183,
|
312 |
+
"step": 240
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 2.5,
|
316 |
+
"learning_rate": 7.954855279929014e-05,
|
317 |
+
"loss": 0.8455,
|
318 |
+
"step": 245
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 2.55,
|
322 |
+
"learning_rate": 6.860000000000005e-05,
|
323 |
+
"loss": 0.8961,
|
324 |
+
"step": 250
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 2.6,
|
328 |
+
"learning_rate": 5.765144720071096e-05,
|
329 |
+
"loss": 0.9542,
|
330 |
+
"step": 255
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"epoch": 2.65,
|
334 |
+
"learning_rate": 4.698357624357919e-05,
|
335 |
+
"loss": 0.9393,
|
336 |
+
"step": 260
|
337 |
+
},
|
338 |
+
{
|
339 |
+
"epoch": 2.7,
|
340 |
+
"learning_rate": 3.686987328947893e-05,
|
341 |
+
"loss": 0.9105,
|
342 |
+
"step": 265
|
343 |
+
},
|
344 |
+
{
|
345 |
+
"epoch": 2.76,
|
346 |
+
"learning_rate": 2.7569617608302584e-05,
|
347 |
+
"loss": 0.9638,
|
348 |
+
"step": 270
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"epoch": 2.81,
|
352 |
+
"learning_rate": 1.932123458329638e-05,
|
353 |
+
"loss": 0.8269,
|
354 |
+
"step": 275
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 2.86,
|
358 |
+
"learning_rate": 1.233618333464853e-05,
|
359 |
+
"loss": 0.9693,
|
360 |
+
"step": 280
|
361 |
+
},
|
362 |
+
{
|
363 |
+
"epoch": 2.91,
|
364 |
+
"learning_rate": 6.7935356618941304e-06,
|
365 |
+
"loss": 0.8474,
|
366 |
+
"step": 285
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 2.96,
|
370 |
+
"learning_rate": 2.8353852816850615e-06,
|
371 |
+
"loss": 0.8138,
|
372 |
+
"step": 290
|
373 |
+
},
|
374 |
+
{
|
375 |
+
"epoch": 3.0,
|
376 |
+
"eval_loss": 0.6951560974121094,
|
377 |
+
"eval_runtime": 6.9159,
|
378 |
+
"eval_samples_per_second": 20.677,
|
379 |
+
"eval_steps_per_second": 2.603,
|
380 |
+
"step": 294
|
381 |
}
|
382 |
],
|
383 |
+
"max_steps": 294,
|
384 |
+
"num_train_epochs": 3,
|
385 |
+
"total_flos": 305711677440000.0,
|
386 |
"trial_name": null,
|
387 |
"trial_params": null
|
388 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1e43acc9100bdd682eafe8ab7a4ccf0fb744b6214b26c1a24e8e39367a3d089
|
3 |
+
size 3055
|