AlekseyKorshuk
commited on
Commit
•
fe74de0
1
Parent(s):
a02c22e
huggingartists
Browse files- README.md +3 -3
- 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 +2 -2
- trainer_state.json +38 -6
- training_args.bin +1 -1
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/jmcwl2kv/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/1whzvxwj) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/1whzvxwj/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 0.
|
|
|
1 |
+
{"eval_loss": 0.21771365404129028, "eval_runtime": 30.0637, "eval_samples_per_second": 21.854, "eval_steps_per_second": 2.761, "epoch": 5.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:a3c84e167e98d6bd088c1429cee6bc62ba6d54ab7f3c66eab67e19d635ab2596
|
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:afee348b7efad6b1be2a8b10d85601fd94c046b69c8bba8337f0a5bec709098d
|
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:f9b15d9ce61c2310babe315c1bd8cb94b184dbd5e5c313a021c60e754e525a80
|
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 14567
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0adf8de5d8959718687f938c23efe71b47657476c01a8cecd52658e6e0b44659
|
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:965536734f76c5e6ed923fbf10a7658723a2c2e833c43f9c58cbbc65cf8ac992
|
3 |
size 623
|
tokenizer.json
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 50256,
|
8 |
-
"special": true,
|
9 |
"content": "<|endoftext|>",
|
10 |
"single_word": false,
|
11 |
"lstrip": false,
|
12 |
"rstrip": false,
|
13 |
-
"normalized": false
|
|
|
14 |
}
|
15 |
],
|
16 |
"normalizer": null,
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 50256,
|
|
|
8 |
"content": "<|endoftext|>",
|
9 |
"single_word": false,
|
10 |
"lstrip": false,
|
11 |
"rstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"special": true
|
14 |
}
|
15 |
],
|
16 |
"normalizer": null,
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "output/eminem/checkpoint-
|
4 |
"epoch": 4.0,
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -2186,11 +2186,43 @@
|
|
2186 |
"eval_samples_per_second": 75.973,
|
2187 |
"eval_steps_per_second": 9.497,
|
2188 |
"step": 1792
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2189 |
}
|
2190 |
],
|
2191 |
-
"max_steps":
|
2192 |
-
"num_train_epochs":
|
2193 |
-
"total_flos":
|
2194 |
"trial_name": null,
|
2195 |
"trial_params": null
|
2196 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.21771365404129028,
|
3 |
+
"best_model_checkpoint": "output/eminem/checkpoint-1812",
|
4 |
"epoch": 4.0,
|
5 |
+
"global_step": 1812,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
2186 |
"eval_samples_per_second": 75.973,
|
2187 |
"eval_steps_per_second": 9.497,
|
2188 |
"step": 1792
|
2189 |
+
},
|
2190 |
+
{
|
2191 |
+
"epoch": 3.96,
|
2192 |
+
"learning_rate": 4.9300467408522294e-06,
|
2193 |
+
"loss": 0.5907,
|
2194 |
+
"step": 1795
|
2195 |
+
},
|
2196 |
+
{
|
2197 |
+
"epoch": 3.97,
|
2198 |
+
"learning_rate": 5.853621386191686e-06,
|
2199 |
+
"loss": 0.551,
|
2200 |
+
"step": 1800
|
2201 |
+
},
|
2202 |
+
{
|
2203 |
+
"epoch": 3.98,
|
2204 |
+
"learning_rate": 6.85263374207898e-06,
|
2205 |
+
"loss": 0.6016,
|
2206 |
+
"step": 1805
|
2207 |
+
},
|
2208 |
+
{
|
2209 |
+
"epoch": 4.0,
|
2210 |
+
"learning_rate": 7.92588273195002e-06,
|
2211 |
+
"loss": 0.5671,
|
2212 |
+
"step": 1810
|
2213 |
+
},
|
2214 |
+
{
|
2215 |
+
"epoch": 4.0,
|
2216 |
+
"eval_loss": 0.21771365404129028,
|
2217 |
+
"eval_runtime": 29.2775,
|
2218 |
+
"eval_samples_per_second": 22.44,
|
2219 |
+
"eval_steps_per_second": 2.835,
|
2220 |
+
"step": 1812
|
2221 |
}
|
2222 |
],
|
2223 |
+
"max_steps": 2265,
|
2224 |
+
"num_train_epochs": 5,
|
2225 |
+
"total_flos": 1891623665664000.0,
|
2226 |
"trial_name": null,
|
2227 |
"trial_params": null
|
2228 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3055
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5e73081babceee84261a7b998dd78a63239c51b158835ceac32b4379ba9c29d
|
3 |
size 3055
|