AlekseyKorshuk commited on
Commit
be61806
1 Parent(s): ed1b9ce

huggingartists

Browse files
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/2n8nv6eo/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/2rjj8yuy) for full transparency and reproducibility.
55
 
56
- At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/2rjj8yuy/artifacts) is logged and versioned.
57
 
58
  ## How to use
59
 
 
45
  dataset = load_dataset("huggingartists/nirvana")
46
  ```
47
 
48
+ [Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/2so60o7u/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/l6zav1kr) for full transparency and reproducibility.
55
 
56
+ At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/l6zav1kr/artifacts) is logged and versioned.
57
 
58
  ## How to use
59
 
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
@@ -18,7 +18,9 @@
18
  "n_inner": null,
19
  "n_layer": 12,
20
  "n_positions": 1024,
 
21
  "resid_pdrop": 0.1,
 
22
  "scale_attn_weights": true,
23
  "summary_activation": null,
24
  "summary_first_dropout": 0.1,
@@ -35,7 +37,7 @@
35
  }
36
  },
37
  "torch_dtype": "float32",
38
- "transformers_version": "4.10.2",
39
  "use_cache": true,
40
  "vocab_size": 50257
41
  }
 
1
  {
2
+ "_name_or_path": "nirvana",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
 
18
  "n_inner": null,
19
  "n_layer": 12,
20
  "n_positions": 1024,
21
+ "reorder_and_upcast_attn": false,
22
  "resid_pdrop": 0.1,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
  "scale_attn_weights": true,
25
  "summary_activation": null,
26
  "summary_first_dropout": 0.1,
 
37
  }
38
  },
39
  "torch_dtype": "float32",
40
+ "transformers_version": "4.16.1",
41
  "use_cache": true,
42
  "vocab_size": 50257
43
  }
evaluation.txt CHANGED
@@ -1 +1 @@
1
- {"eval_loss": 2.5190556049346924, "eval_runtime": 2.6493, "eval_samples_per_second": 21.138, "eval_steps_per_second": 2.642, "epoch": 1.0}
 
1
+ {"eval_loss": 2.128573179244995, "eval_runtime": 1.2287, "eval_samples_per_second": 43.137, "eval_steps_per_second": 5.697, "epoch": 2.0}
flax_model.msgpack CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69a98d3fb8e36cc32117af3070a7e46187aab33883420ba33a6c2386ac39b355
3
  size 497764120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1740b9403c2980e1c12ea39ca34dd90e719cb426af2e560c4662fb685a4adc5c
3
  size 497764120
optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3acf06fa40c7506291d94417db2e355ccf307835a183507891ecda68d4cc041e
3
  size 995603825
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99c7d18d91a68d3aac0f231a3453ae4f8448552fe1cceca43dfeddf734b115cf
3
  size 995603825
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8547e535bd26489d6e0d498a76b95c78cf4eda66a4406e50d6beb245d7bafe4
3
  size 510403817
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:190fc0c852d0ebcb0d529ca1ef8faf27bb0e63a90b3312da7edff4f56cd84c70
3
  size 510403817
rng_state.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8352ef81703053831b701355ba366fd6d01224cef947db1382f693b33d78acbc
3
  size 14567
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d8690557d45fc8d72f6eb673bd42b9a6c47364d62cbc2a5af224d1d6fa8d651
3
  size 14567
scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ffbc99e60a150225c1619d3a5dfd24d23b94d1d0c35e0e58966261759d54b4ef
3
  size 623
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95317d63b9a0922ed3de67fdcb9f6bbf4898f9cd35c41f60f3577d5b1e618ec0
3
  size 623
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1 +1 @@
1
- {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "gpt2", "tokenizer_class": "GPT2Tokenizer"}
 
1
+ {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "huggingartists/nirvana", "tokenizer_class": "GPT2Tokenizer"}
trainer_state.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "best_metric": 2.5190556049346924,
3
- "best_model_checkpoint": "output/nirvana/checkpoint-35",
4
- "epoch": 1.0,
5
- "global_step": 35,
6
  "is_hyper_param_search": false,
7
  "is_local_process_zero": true,
8
  "is_world_process_zero": true,
@@ -56,11 +56,69 @@
56
  "eval_samples_per_second": 22.504,
57
  "eval_steps_per_second": 2.813,
58
  "step": 35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
60
  ],
61
- "max_steps": 35,
62
- "num_train_epochs": 1,
63
- "total_flos": 36319592448000.0,
64
  "trial_name": null,
65
  "trial_params": null
66
  }
 
1
  {
2
+ "best_metric": 2.128573179244995,
3
+ "best_model_checkpoint": "output/nirvana/checkpoint-72",
4
+ "epoch": 2.0,
5
+ "global_step": 72,
6
  "is_hyper_param_search": false,
7
  "is_local_process_zero": true,
8
  "is_world_process_zero": true,
 
56
  "eval_samples_per_second": 22.504,
57
  "eval_steps_per_second": 2.813,
58
  "step": 35
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "eval_loss": 2.3264973163604736,
63
+ "eval_runtime": 1.1647,
64
+ "eval_samples_per_second": 45.506,
65
+ "eval_steps_per_second": 6.01,
66
+ "step": 36
67
+ },
68
+ {
69
+ "epoch": 1.11,
70
+ "learning_rate": 4.137086214086682e-06,
71
+ "loss": 2.6774,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 1.25,
76
+ "learning_rate": 2.009247481060283e-05,
77
+ "loss": 2.4577,
78
+ "step": 45
79
+ },
80
+ {
81
+ "epoch": 1.39,
82
+ "learning_rate": 4.513741816785908e-05,
83
+ "loss": 2.2823,
84
+ "step": 50
85
+ },
86
+ {
87
+ "epoch": 1.53,
88
+ "learning_rate": 7.457888395248933e-05,
89
+ "loss": 2.298,
90
+ "step": 55
91
+ },
92
+ {
93
+ "epoch": 1.67,
94
+ "learning_rate": 0.00010290000000000001,
95
+ "loss": 2.4088,
96
+ "step": 60
97
+ },
98
+ {
99
+ "epoch": 1.81,
100
+ "learning_rate": 0.00012479383023822482,
101
+ "loss": 2.2944,
102
+ "step": 65
103
+ },
104
+ {
105
+ "epoch": 1.94,
106
+ "learning_rate": 0.00013615781185663748,
107
+ "loss": 2.0032,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 2.0,
112
+ "eval_loss": 2.128573179244995,
113
+ "eval_runtime": 1.1938,
114
+ "eval_samples_per_second": 44.396,
115
+ "eval_steps_per_second": 5.864,
116
+ "step": 72
117
  }
118
  ],
119
+ "max_steps": 72,
120
+ "num_train_epochs": 2,
121
+ "total_flos": 73161768960000.0,
122
  "trial_name": null,
123
  "trial_params": null
124
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0bf6f49cd9a925b8355a2811e15f01c27594922d1567b49b037e42207f9552e4
3
- size 2671
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ccf6b2194f29afd6fd696a5ff25947b9d920926b5a6ac01723ed2e5798c9d44
3
+ size 3055