Commit
·
b1a39ba
1
Parent(s):
668b228
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 +51 -7
- training_args.bin +1 -1
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/nirvana")
|
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 Nirvana'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/nirvana")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/1bj9eav1/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 Nirvana's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/3vzztlsq) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/3vzztlsq/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": 1.
|
|
|
1 |
+
{"eval_loss": 1.652644395828247, "eval_runtime": 0.6861, "eval_samples_per_second": 72.881, "eval_steps_per_second": 10.203, "epoch": 4.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:bb7ffe29d6c9df8eb6f354e7594b14e64327efbd1282dcc6bfb98157a785df95
|
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:ce5b25f796f3ce284994f482729b66cbae756dbc6c6713fa0e06c01020286111
|
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:eba841c32d0a8e1b4d077ed2c72a586a4769ea7b8bcd773668d5638993a4391a
|
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:ef49b6bb7686a0d942a75007f3b3fa50bd852d104828a62e770eaeb6558f5b5b
|
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:90b218d2fa339ad9451b337b3dfa7239e2fc5fb06e4d1e48c52d8dfd833c0e23
|
3 |
size 623
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 1.
|
3 |
-
"best_model_checkpoint": "output/nirvana/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -178,11 +178,55 @@
|
|
178 |
"eval_samples_per_second": 22.729,
|
179 |
"eval_steps_per_second": 3.247,
|
180 |
"step": 111
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
}
|
182 |
],
|
183 |
-
"max_steps":
|
184 |
-
"num_train_epochs":
|
185 |
-
"total_flos":
|
186 |
"trial_name": null,
|
187 |
"trial_params": null
|
188 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 1.652644395828247,
|
3 |
+
"best_model_checkpoint": "output/nirvana/checkpoint-144",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 144,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
178 |
"eval_samples_per_second": 22.729,
|
179 |
"eval_steps_per_second": 3.247,
|
180 |
"step": 111
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 3.19,
|
184 |
+
"learning_rate": 1.2406169761775193e-05,
|
185 |
+
"loss": 1.9469,
|
186 |
+
"step": 115
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 3.33,
|
190 |
+
"learning_rate": 3.4300000000000014e-05,
|
191 |
+
"loss": 1.7381,
|
192 |
+
"step": 120
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 3.47,
|
196 |
+
"learning_rate": 6.262111604751063e-05,
|
197 |
+
"loss": 1.8423,
|
198 |
+
"step": 125
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 3.61,
|
202 |
+
"learning_rate": 9.206258183214083e-05,
|
203 |
+
"loss": 1.6384,
|
204 |
+
"step": 130
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 3.75,
|
208 |
+
"learning_rate": 0.0001171075251893971,
|
209 |
+
"loss": 2.0094,
|
210 |
+
"step": 135
|
211 |
+
},
|
212 |
+
{
|
213 |
+
"epoch": 3.89,
|
214 |
+
"learning_rate": 0.00013306291378591332,
|
215 |
+
"loss": 1.8349,
|
216 |
+
"step": 140
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 4.0,
|
220 |
+
"eval_loss": 1.652644395828247,
|
221 |
+
"eval_runtime": 0.6674,
|
222 |
+
"eval_samples_per_second": 74.92,
|
223 |
+
"eval_steps_per_second": 10.489,
|
224 |
+
"step": 144
|
225 |
}
|
226 |
],
|
227 |
+
"max_steps": 144,
|
228 |
+
"num_train_epochs": 4,
|
229 |
+
"total_flos": 146715475968000.0,
|
230 |
"trial_name": null,
|
231 |
"trial_params": null
|
232 |
}
|
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:7929aea55869137e402b1d784b7ce4ed38a6fe01ebc5666f6b57abddc466c8ff
|
3 |
size 3055
|