Commit
·
dc531bc
1
Parent(s):
24d67c7
huggingartists
Browse files- README.md +3 -3
- config.json +2 -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
- trainer_state.json +33 -7
- training_args.bin +2 -2
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/tool")
|
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 Tool'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/tool")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/2w1h70ok/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 Tool's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/1zikehwi) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/1zikehwi/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -30,8 +30,8 @@
|
|
30 |
"task_specific_params": {
|
31 |
"text-generation": {
|
32 |
"do_sample": true,
|
33 |
-
"max_length":
|
34 |
-
"min_length":
|
35 |
"temperature": 1.0,
|
36 |
"top_p": 0.95
|
37 |
}
|
|
|
30 |
"task_specific_params": {
|
31 |
"text-generation": {
|
32 |
"do_sample": true,
|
33 |
+
"max_length": 150,
|
34 |
+
"min_length": 80,
|
35 |
"temperature": 1.0,
|
36 |
"top_p": 0.95
|
37 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 2.
|
|
|
1 |
+
{"eval_loss": 2.4025585651397705, "eval_runtime": 0.1885, "eval_samples_per_second": 79.587, "eval_steps_per_second": 10.612, "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:59dff47de0389edfe6c404dcee5ed4f8c4ee963861d19bfeb125bd68aade1e7a
|
3 |
size 497764120
|
optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 995603825
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccad7917a97542e610dc3ed8f6c0eb8cb1345f9ccee69a38ffa843d74ec7ebd3
|
3 |
size 995603825
|
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:b7cb352f906fb72d54412d702d0d396c7534a832d630769bbe9fca89f18763ab
|
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:ac06a0a74e2cc1058f2f6b0e902120bc773c303ad8f07aaaabab44c3ab1b8ad3
|
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:516bee0a3338981961397871d9fa5b0b01ff9ed881ae03d42fa50217bde1fa30
|
3 |
size 623
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 2.
|
3 |
-
"best_model_checkpoint": "output/tool/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -86,11 +86,37 @@
|
|
86 |
"eval_samples_per_second": 23.33,
|
87 |
"eval_steps_per_second": 3.589,
|
88 |
"step": 44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
}
|
90 |
],
|
91 |
-
"max_steps":
|
92 |
-
"num_train_epochs":
|
93 |
-
"total_flos":
|
94 |
"trial_name": null,
|
95 |
"trial_params": null
|
96 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 2.4025585651397705,
|
3 |
+
"best_model_checkpoint": "output/tool/checkpoint-55",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"global_step": 55,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
86 |
"eval_samples_per_second": 23.33,
|
87 |
"eval_steps_per_second": 3.589,
|
88 |
"step": 44
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 4.09,
|
92 |
+
"learning_rate": 0.00013442121798995453,
|
93 |
+
"loss": 2.4054,
|
94 |
+
"step": 45
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 4.55,
|
98 |
+
"learning_rate": 5.883720209445262e-05,
|
99 |
+
"loss": 2.2843,
|
100 |
+
"step": 50
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 5.0,
|
104 |
+
"learning_rate": 0.0,
|
105 |
+
"loss": 2.4935,
|
106 |
+
"step": 55
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 5.0,
|
110 |
+
"eval_loss": 2.4025585651397705,
|
111 |
+
"eval_runtime": 0.1869,
|
112 |
+
"eval_samples_per_second": 80.273,
|
113 |
+
"eval_steps_per_second": 10.703,
|
114 |
+
"step": 55
|
115 |
}
|
116 |
],
|
117 |
+
"max_steps": 55,
|
118 |
+
"num_train_epochs": 5,
|
119 |
+
"total_flos": 57222955008000.0,
|
120 |
"trial_name": null,
|
121 |
"trial_params": null
|
122 |
}
|
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:592b1f50c346e9d470c4bc200ee6c5910a0e9902cb3de28db61f17131da5e560
|
3 |
+
size 2991
|