AlekseyKorshuk
commited on
Commit
·
8448353
1
Parent(s):
f7d367a
huggingartists
Browse files- README.md +3 -3
- config.json +1 -1
- evaluation.txt +1 -1
- flax_model.msgpack +1 -1
- optimizer.pt +1 -1
- pytorch_model.bin +1 -1
- rng_state.pth +2 -2
- scheduler.pt +1 -1
- trainer_state.json +19 -5
- training_args.bin +2 -2
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/eminem")
|
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 Eminem'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/eminem")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/2vaz5xpd/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 Eminem's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/33jkyt37) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/33jkyt37/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -35,7 +35,7 @@
|
|
35 |
}
|
36 |
},
|
37 |
"torch_dtype": "float32",
|
38 |
-
"transformers_version": "4.
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
|
|
35 |
}
|
36 |
},
|
37 |
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.11.0",
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss":
|
|
|
1 |
+
{"eval_loss": 0.784148097038269, "eval_runtime": 30.5311, "eval_samples_per_second": 20.438, "eval_steps_per_second": 2.555, "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:0f3a9b031e3200df1c61d184c70488f106b11715c82ff46195cdd2ddd04a79aa
|
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:0349bd3cf8a316858fcf5dad74a6cd76573f7544486a0a1f4fdd1f058a75c504
|
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:1821b8a3e1e0709d148722fbf6e276d0ba0358335793aff16454c4ea733a845b
|
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
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a49f5d20fc18c39901c23b9b6ba86d1006ef3fec5986d60cf00042600c5a1ac9
|
3 |
+
size 14567
|
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:0290e104fb13a007441de2a0eb7394a6eb15648f7c45d56eeaf2cbc6b73be3a8
|
3 |
size 623
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric":
|
3 |
-
"best_model_checkpoint": "output/eminem/checkpoint-
|
4 |
"epoch": 2.0,
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -1108,11 +1108,25 @@
|
|
1108 |
"eval_samples_per_second": 76.969,
|
1109 |
"eval_steps_per_second": 9.694,
|
1110 |
"step": 906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1111 |
}
|
1112 |
],
|
1113 |
-
"max_steps":
|
1114 |
"num_train_epochs": 3,
|
1115 |
-
"total_flos":
|
1116 |
"trial_name": null,
|
1117 |
"trial_params": null
|
1118 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.784148097038269,
|
3 |
+
"best_model_checkpoint": "output/eminem/checkpoint-914",
|
4 |
"epoch": 2.0,
|
5 |
+
"global_step": 914,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
1108 |
"eval_samples_per_second": 76.969,
|
1109 |
"eval_steps_per_second": 9.694,
|
1110 |
"step": 906
|
1111 |
+
},
|
1112 |
+
{
|
1113 |
+
"epoch": 1.99,
|
1114 |
+
"learning_rate": 1.4404038393038775e-05,
|
1115 |
+
"loss": 1.2124,
|
1116 |
+
"step": 910
|
1117 |
+
},
|
1118 |
+
{
|
1119 |
+
"epoch": 2.0,
|
1120 |
+
"eval_loss": 0.784148097038269,
|
1121 |
+
"eval_runtime": 30.793,
|
1122 |
+
"eval_samples_per_second": 20.264,
|
1123 |
+
"eval_steps_per_second": 2.533,
|
1124 |
+
"step": 914
|
1125 |
}
|
1126 |
],
|
1127 |
+
"max_steps": 1371,
|
1128 |
"num_train_epochs": 3,
|
1129 |
+
"total_flos": 953585270784000.0,
|
1130 |
"trial_name": null,
|
1131 |
"trial_params": null
|
1132 |
}
|
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:d257532c4b0d231f95f763cddd30c9aa94300b44464ea753808133329804a191
|
3 |
+
size 2863
|