AlekseyKorshuk
commited on
Commit
•
d9d24b5
1
Parent(s):
608729c
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 +1 -1
- scheduler.pt +1 -1
- trainer_state.json +25 -5
- 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/14l0irt0/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/1buv5m9i) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/1buv5m9i/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
}
|
38 |
},
|
39 |
"torch_dtype": "float32",
|
40 |
-
"transformers_version": "4.16.
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 50257
|
43 |
}
|
|
|
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.37163448333740234, "eval_runtime": 28.704, "eval_samples_per_second": 20.45, "eval_steps_per_second": 2.578, "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:bb44bd892620724348b1f8bd98aff6e03e38fe1376bcd754f4b89769c6ed210a
|
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:bfa216e29dab868efb9674298799ceecd462e1b341fde7e584fcff00171c7b33
|
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:ce13b2714bbf717a6d07d2e7d112009b4ee85fc468a7056e1df4e22a76c4b967
|
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:7753baebd09fb9ef19a9cbd379c34b2acd8cbc7bd213ace8e1d0bf591bb2bcfc
|
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:63fe74d287e7e5851bce8bf478b5c5444779821627837777ac4e6b2d39e75580
|
3 |
size 623
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
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,
|
@@ -1122,11 +1122,31 @@
|
|
1122 |
"eval_samples_per_second": 47.047,
|
1123 |
"eval_steps_per_second": 5.927,
|
1124 |
"step": 910
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
}
|
1126 |
],
|
1127 |
-
"max_steps":
|
1128 |
"num_train_epochs": 3,
|
1129 |
-
"total_flos":
|
1130 |
"trial_name": null,
|
1131 |
"trial_params": null
|
1132 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.37163448333740234,
|
3 |
+
"best_model_checkpoint": "output/eminem/checkpoint-924",
|
4 |
"epoch": 2.0,
|
5 |
+
"global_step": 924,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
1122 |
"eval_samples_per_second": 47.047,
|
1123 |
"eval_steps_per_second": 5.927,
|
1124 |
"step": 910
|
1125 |
+
},
|
1126 |
+
{
|
1127 |
+
"epoch": 1.98,
|
1128 |
+
"learning_rate": 1.7062254198703994e-05,
|
1129 |
+
"loss": 0.8052,
|
1130 |
+
"step": 915
|
1131 |
+
},
|
1132 |
+
{
|
1133 |
+
"epoch": 1.99,
|
1134 |
+
"learning_rate": 1.8631088017841603e-05,
|
1135 |
+
"loss": 0.7911,
|
1136 |
+
"step": 920
|
1137 |
+
},
|
1138 |
+
{
|
1139 |
+
"epoch": 2.0,
|
1140 |
+
"eval_loss": 0.37163448333740234,
|
1141 |
+
"eval_runtime": 28.6365,
|
1142 |
+
"eval_samples_per_second": 20.498,
|
1143 |
+
"eval_steps_per_second": 2.584,
|
1144 |
+
"step": 924
|
1145 |
}
|
1146 |
],
|
1147 |
+
"max_steps": 1386,
|
1148 |
"num_train_epochs": 3,
|
1149 |
+
"total_flos": 963383721984000.0,
|
1150 |
"trial_name": null,
|
1151 |
"trial_params": null
|
1152 |
}
|
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:805b5eda2fc68bf70f2494e9471c8381559074bf1249ef0daf4c166fcf463efc
|
3 |
size 3055
|