AlekseyKorshuk
commited on
Commit
·
b334d7a
1
Parent(s):
6403403
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 +39 -7
- training_args.bin +1 -1
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/lil-nas-x")
|
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 Lil Nas X'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/lil-nas-x")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/n5s2tj7p/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 Lil Nas X's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/334lnf7p) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/334lnf7p/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.10.0",
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss":
|
|
|
1 |
+
{"eval_loss": 1.9625495672225952, "eval_runtime": 1.0164, "eval_samples_per_second": 21.645, "eval_steps_per_second": 2.952, "epoch": 8.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:3b80cf54e3903aaa086ff55a5ae3584dda39458cc6c3bf59739d8cc7d68790b0
|
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:554ae32686dff8e0d3a563c810f5c9af42fa2a9bcdd37f183fa967124a0904f6
|
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:b4a7a115b338a3868ea2fe887e0d69462ba75a749533bc9b843aac1df5f8df4e
|
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:eeb5802e7c97dc239cbd9f140547b94a41551dc6504f88f1c1435547ad81869d
|
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:2c3fb618ee6e9aa59b1a47fa3c6a9f15a1e92380c65669fceabea70c078e74fd
|
3 |
size 623
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric":
|
3 |
-
"best_model_checkpoint": "output/lil-nas-x/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -218,11 +218,43 @@
|
|
218 |
"eval_samples_per_second": 22.091,
|
219 |
"eval_steps_per_second": 3.156,
|
220 |
"step": 133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
}
|
222 |
],
|
223 |
-
"max_steps":
|
224 |
-
"num_train_epochs":
|
225 |
-
"total_flos":
|
226 |
"trial_name": null,
|
227 |
"trial_params": null
|
228 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 1.9625495672225952,
|
3 |
+
"best_model_checkpoint": "output/lil-nas-x/checkpoint-152",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"global_step": 152,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
218 |
"eval_samples_per_second": 22.091,
|
219 |
"eval_steps_per_second": 3.156,
|
220 |
"step": 133
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 7.11,
|
224 |
+
"learning_rate": 3.716937219336464e-06,
|
225 |
+
"loss": 1.9804,
|
226 |
+
"step": 135
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 7.37,
|
230 |
+
"learning_rate": 4.1043693868806114e-05,
|
231 |
+
"loss": 2.296,
|
232 |
+
"step": 140
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"epoch": 7.63,
|
236 |
+
"learning_rate": 9.615630613119378e-05,
|
237 |
+
"loss": 2.1816,
|
238 |
+
"step": 145
|
239 |
+
},
|
240 |
+
{
|
241 |
+
"epoch": 7.89,
|
242 |
+
"learning_rate": 0.0001334830627806635,
|
243 |
+
"loss": 2.0152,
|
244 |
+
"step": 150
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 8.0,
|
248 |
+
"eval_loss": 1.9625495672225952,
|
249 |
+
"eval_runtime": 0.9643,
|
250 |
+
"eval_samples_per_second": 22.814,
|
251 |
+
"eval_steps_per_second": 3.111,
|
252 |
+
"step": 152
|
253 |
}
|
254 |
],
|
255 |
+
"max_steps": 152,
|
256 |
+
"num_train_epochs": 8,
|
257 |
+
"total_flos": 154684882944000.0,
|
258 |
"trial_name": null,
|
259 |
"trial_params": null
|
260 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2671
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:430a51fdae1a88133b33525b9a58e2fa148b17cab07fc90ee92153a604f99585
|
3 |
size 2671
|