stevenjunliu commited on
Commit
26638be
1 Parent(s): e317669

Model save

Browse files
Files changed (5) hide show
  1. README.md +3 -11
  2. all_results.json +5 -5
  3. model.safetensors +1 -1
  4. train_results.json +5 -5
  5. trainer_state.json +173 -40
README.md CHANGED
@@ -2,16 +2,11 @@
2
  license: mit
3
  base_model: gpt2
4
  tags:
5
- - alignment-handbook
6
  - trl
7
  - sft
8
  - generated_from_trainer
9
- - trl
10
- - sft
11
- - alignment-handbook
12
- - generated_from_trainer
13
  datasets:
14
- - shahadalkhalifa/Crypto_Whitepaper_Labeled
15
  model-index:
16
  - name: gpt2-cpt-white
17
  results: []
@@ -22,7 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
22
 
23
  # gpt2-cpt-white
24
 
25
- This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the shahadalkhalifa/Crypto_Whitepaper_Labeled dataset.
26
 
27
  ## Model description
28
 
@@ -46,13 +41,10 @@ The following hyperparameters were used during training:
46
  - eval_batch_size: 8
47
  - seed: 42
48
  - distributed_type: multi-GPU
49
- - num_devices: 2
50
- - total_train_batch_size: 32
51
- - total_eval_batch_size: 16
52
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
  - lr_scheduler_type: cosine
54
  - lr_scheduler_warmup_ratio: 0.1
55
- - num_epochs: 4.0
56
 
57
  ### Training results
58
 
 
2
  license: mit
3
  base_model: gpt2
4
  tags:
 
5
  - trl
6
  - sft
7
  - generated_from_trainer
 
 
 
 
8
  datasets:
9
+ - generator
10
  model-index:
11
  - name: gpt2-cpt-white
12
  results: []
 
17
 
18
  # gpt2-cpt-white
19
 
20
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the generator dataset.
21
 
22
  ## Model description
23
 
 
41
  - eval_batch_size: 8
42
  - seed: 42
43
  - distributed_type: multi-GPU
 
 
 
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: cosine
46
  - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 8.0
48
 
49
  ### Training results
50
 
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 4.0,
3
- "train_loss": 5.970038026571274,
4
- "train_runtime": 52.1743,
5
  "train_samples": 91,
6
- "train_samples_per_second": 19.243,
7
- "train_steps_per_second": 0.613
8
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "train_loss": 5.653645019978285,
4
+ "train_runtime": 83.1481,
5
  "train_samples": 91,
6
+ "train_samples_per_second": 24.15,
7
+ "train_steps_per_second": 1.539
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0972128030522cc17565b1e687c530752363c97e94f68f395954b9de7db257c8
3
  size 248894656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d739b2f6e5ebb5f1d67d6a09c779f5d491a40cebc35a5ccae1f04013479c89f4
3
  size 248894656
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 4.0,
3
- "train_loss": 5.970038026571274,
4
- "train_runtime": 52.1743,
5
  "train_samples": 91,
6
- "train_samples_per_second": 19.243,
7
- "train_steps_per_second": 0.613
8
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "train_loss": 5.653645019978285,
4
+ "train_runtime": 83.1481,
5
  "train_samples": 91,
6
+ "train_samples_per_second": 24.15,
7
+ "train_steps_per_second": 1.539
8
  }
trainer_state.json CHANGED
@@ -1,78 +1,211 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 4.0,
5
  "eval_steps": 500,
6
- "global_step": 32,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 0.12,
13
- "grad_norm": 6.875,
14
- "learning_rate": 5e-05,
15
- "loss": 6.4878,
16
  "step": 1
17
  },
18
  {
19
- "epoch": 0.62,
20
- "grad_norm": 5.0,
21
- "learning_rate": 0.00019937122098932428,
22
- "loss": 6.2983,
23
  "step": 5
24
  },
25
  {
26
- "epoch": 1.25,
27
- "grad_norm": 3.078125,
28
- "learning_rate": 0.000178183148246803,
29
- "loss": 6.1058,
30
  "step": 10
31
  },
32
  {
33
- "epoch": 1.88,
34
- "grad_norm": 2.71875,
35
- "learning_rate": 0.00013302790619551674,
36
- "loss": 5.931,
37
  "step": 15
38
  },
39
  {
40
- "epoch": 2.5,
41
- "grad_norm": 2.609375,
42
- "learning_rate": 7.774790660436858e-05,
43
- "loss": 5.9051,
44
  "step": 20
45
  },
46
  {
47
- "epoch": 3.12,
48
- "grad_norm": 2.4375,
49
- "learning_rate": 2.9289321881345254e-05,
50
- "loss": 5.806,
51
  "step": 25
52
  },
53
  {
54
- "epoch": 3.75,
55
- "grad_norm": 2.390625,
56
- "learning_rate": 2.5072087818176382e-06,
57
- "loss": 5.859,
58
  "step": 30
59
  },
60
  {
61
- "epoch": 4.0,
62
- "step": 32,
63
- "total_flos": 535126081536000.0,
64
- "train_loss": 5.970038026571274,
65
- "train_runtime": 52.1743,
66
- "train_samples_per_second": 19.243,
67
- "train_steps_per_second": 0.613
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
69
  ],
70
  "logging_steps": 5,
71
- "max_steps": 32,
72
  "num_input_tokens_seen": 0,
73
- "num_train_epochs": 4,
74
  "save_steps": 100,
75
- "total_flos": 535126081536000.0,
76
  "train_batch_size": 16,
77
  "trial_name": null,
78
  "trial_params": null
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 8.0,
5
  "eval_steps": 500,
6
+ "global_step": 128,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
+ "epoch": 0.06,
13
+ "grad_norm": 7.65625,
14
+ "learning_rate": 1.5384615384615387e-05,
15
+ "loss": 6.3526,
16
  "step": 1
17
  },
18
  {
19
+ "epoch": 0.31,
20
+ "grad_norm": 6.3125,
21
+ "learning_rate": 7.692307692307693e-05,
22
+ "loss": 6.3681,
23
  "step": 5
24
  },
25
  {
26
+ "epoch": 0.62,
27
+ "grad_norm": 5.09375,
28
+ "learning_rate": 0.00015384615384615385,
29
+ "loss": 6.1993,
30
  "step": 10
31
  },
32
  {
33
+ "epoch": 0.94,
34
+ "grad_norm": 4.78125,
35
+ "learning_rate": 0.0001998507803482828,
36
+ "loss": 6.199,
37
  "step": 15
38
  },
39
  {
40
+ "epoch": 1.25,
41
+ "grad_norm": 3.203125,
42
+ "learning_rate": 0.00019817716940755586,
43
+ "loss": 5.9857,
44
  "step": 20
45
  },
46
  {
47
+ "epoch": 1.56,
48
+ "grad_norm": 2.96875,
49
+ "learning_rate": 0.00019467470355910438,
50
+ "loss": 5.9041,
51
  "step": 25
52
  },
53
  {
54
+ "epoch": 1.88,
55
+ "grad_norm": 2.859375,
56
+ "learning_rate": 0.00018940862711476513,
57
+ "loss": 5.8063,
58
  "step": 30
59
  },
60
  {
61
+ "epoch": 2.19,
62
+ "grad_norm": 2.609375,
63
+ "learning_rate": 0.00018247703711489686,
64
+ "loss": 5.8111,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 2.5,
69
+ "grad_norm": 2.3125,
70
+ "learning_rate": 0.0001740090559661252,
71
+ "loss": 5.6765,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 2.81,
76
+ "grad_norm": 2.3125,
77
+ "learning_rate": 0.0001641624261352161,
78
+ "loss": 5.7295,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 3.12,
83
+ "grad_norm": 2.1875,
84
+ "learning_rate": 0.00015312057170538035,
85
+ "loss": 5.5331,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 3.44,
90
+ "grad_norm": 2.171875,
91
+ "learning_rate": 0.00014108918153265485,
92
+ "loss": 5.5281,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 3.75,
97
+ "grad_norm": 2.046875,
98
+ "learning_rate": 0.000128292377651693,
99
+ "loss": 5.605,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 4.06,
104
+ "grad_norm": 1.9296875,
105
+ "learning_rate": 0.00011496854030631443,
106
+ "loss": 5.5033,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 4.38,
111
+ "grad_norm": 1.8671875,
112
+ "learning_rate": 0.0001013658673765951,
113
+ "loss": 5.5589,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 4.69,
118
+ "grad_norm": 1.8984375,
119
+ "learning_rate": 8.773775092197017e-05,
120
+ "loss": 5.5488,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 5.0,
125
+ "grad_norm": 2.125,
126
+ "learning_rate": 7.433805696660266e-05,
127
+ "loss": 5.3959,
128
+ "step": 80
129
+ },
130
+ {
131
+ "epoch": 5.31,
132
+ "grad_norm": 1.9140625,
133
+ "learning_rate": 6.141639645568646e-05,
134
+ "loss": 5.4935,
135
+ "step": 85
136
+ },
137
+ {
138
+ "epoch": 5.62,
139
+ "grad_norm": 1.796875,
140
+ "learning_rate": 4.921347547581939e-05,
141
+ "loss": 5.4818,
142
+ "step": 90
143
+ },
144
+ {
145
+ "epoch": 5.94,
146
+ "grad_norm": 1.703125,
147
+ "learning_rate": 3.795661135604319e-05,
148
+ "loss": 5.4362,
149
+ "step": 95
150
+ },
151
+ {
152
+ "epoch": 6.25,
153
+ "grad_norm": 1.8671875,
154
+ "learning_rate": 2.7855498176104434e-05,
155
+ "loss": 5.3928,
156
+ "step": 100
157
+ },
158
+ {
159
+ "epoch": 6.56,
160
+ "grad_norm": 1.8125,
161
+ "learning_rate": 1.9098300562505266e-05,
162
+ "loss": 5.5188,
163
+ "step": 105
164
+ },
165
+ {
166
+ "epoch": 6.88,
167
+ "grad_norm": 1.7421875,
168
+ "learning_rate": 1.1848148537532843e-05,
169
+ "loss": 5.4886,
170
+ "step": 110
171
+ },
172
+ {
173
+ "epoch": 7.19,
174
+ "grad_norm": 1.84375,
175
+ "learning_rate": 6.240098715597975e-06,
176
+ "loss": 5.3798,
177
+ "step": 115
178
+ },
179
+ {
180
+ "epoch": 7.5,
181
+ "grad_norm": 1.7265625,
182
+ "learning_rate": 2.3786184540455448e-06,
183
+ "loss": 5.4869,
184
+ "step": 120
185
+ },
186
+ {
187
+ "epoch": 7.81,
188
+ "grad_norm": 1.8984375,
189
+ "learning_rate": 3.3563982394704266e-07,
190
+ "loss": 5.4311,
191
+ "step": 125
192
+ },
193
+ {
194
+ "epoch": 8.0,
195
+ "step": 128,
196
+ "total_flos": 1049348792123392.0,
197
+ "train_loss": 5.653645019978285,
198
+ "train_runtime": 83.1481,
199
+ "train_samples_per_second": 24.15,
200
+ "train_steps_per_second": 1.539
201
  }
202
  ],
203
  "logging_steps": 5,
204
+ "max_steps": 128,
205
  "num_input_tokens_seen": 0,
206
+ "num_train_epochs": 8,
207
  "save_steps": 100,
208
+ "total_flos": 1049348792123392.0,
209
  "train_batch_size": 16,
210
  "trial_name": null,
211
  "trial_params": null