tmnam20 commited on
Commit
ee3007d
1 Parent(s): 5222b2a

Training in progress, step 28000, checkpoint

Browse files
checkpoint-28000/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<mask>": 64000
3
+ }
checkpoint-28000/bpe.codes ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-28000/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "demdecuong/vihealthbert-base-word",
3
+ "architectures": [
4
+ "RobertaForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "finetuning_task": "word-level",
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "layer_norm_eps": 1e-05,
18
+ "max_position_embeddings": 258,
19
+ "model_type": "roberta",
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 12,
22
+ "output_hidden_states": true,
23
+ "pad_token_id": 1,
24
+ "position_embedding_type": "absolute",
25
+ "tokenizer_class": "PhobertTokenizer",
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.40.2",
28
+ "type_vocab_size": 1,
29
+ "use_cache": true,
30
+ "vocab_size": 64001
31
+ }
checkpoint-28000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df1aeac6865c3004ef98595886862a7486c8e9fa9f371227bf0fd57186d6f883
3
+ size 540279452
checkpoint-28000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29c035be00ba8962e66bb64e858fd9c0089f75d8b396d18df99b737558f59cab
3
+ size 1080631290
checkpoint-28000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b9d6c81a754a1250adb3663c450a513457870dababbce0e582c12f6513842f6
3
+ size 14244
checkpoint-28000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29e5b9044405f60dbf3415af1b50f1dc3e9cd166dea16a0b91991e2e4459e1af
3
+ size 1064
checkpoint-28000/special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "</s>",
8
+ "unk_token": "<unk>"
9
+ }
checkpoint-28000/tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "64000": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "PhobertTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
checkpoint-28000/trainer_state.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.666961039556835,
3
+ "best_model_checkpoint": "output/pretraining/vihealthbert-w_unsup-SynPD/lr3e-5_wr0.1_wd0.0/checkpoint-28000",
4
+ "epoch": 4.825090470446321,
5
+ "eval_steps": 2000,
6
+ "global_step": 28000,
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.00017232465965879716,
13
+ "grad_norm": 35.608882904052734,
14
+ "learning_rate": 5.169739789763915e-09,
15
+ "loss": 10.7382,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.34464931931759435,
20
+ "grad_norm": 4.884454250335693,
21
+ "learning_rate": 1.033947957952783e-05,
22
+ "loss": 5.8543,
23
+ "step": 2000
24
+ },
25
+ {
26
+ "epoch": 0.34464931931759435,
27
+ "eval_accuracy": 0.3950195480446223,
28
+ "eval_loss": 3.896709680557251,
29
+ "eval_runtime": 24.6709,
30
+ "eval_samples_per_second": 396.175,
31
+ "eval_steps_per_second": 24.766,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.6892986386351887,
36
+ "grad_norm": 5.278345108032227,
37
+ "learning_rate": 2.067895915905566e-05,
38
+ "loss": 3.4544,
39
+ "step": 4000
40
+ },
41
+ {
42
+ "epoch": 0.6892986386351887,
43
+ "eval_accuracy": 0.530626322082222,
44
+ "eval_loss": 2.811899423599243,
45
+ "eval_runtime": 24.6443,
46
+ "eval_samples_per_second": 396.602,
47
+ "eval_steps_per_second": 24.793,
48
+ "step": 4000
49
+ },
50
+ {
51
+ "epoch": 1.033947957952783,
52
+ "grad_norm": 4.731122016906738,
53
+ "learning_rate": 2.988684014015739e-05,
54
+ "loss": 2.8312,
55
+ "step": 6000
56
+ },
57
+ {
58
+ "epoch": 1.033947957952783,
59
+ "eval_accuracy": 0.5771132321637026,
60
+ "eval_loss": 2.4039628505706787,
61
+ "eval_runtime": 24.6266,
62
+ "eval_samples_per_second": 396.889,
63
+ "eval_steps_per_second": 24.811,
64
+ "step": 6000
65
+ },
66
+ {
67
+ "epoch": 1.3785972772703774,
68
+ "grad_norm": 12.213573455810547,
69
+ "learning_rate": 2.873800907576541e-05,
70
+ "loss": 2.5914,
71
+ "step": 8000
72
+ },
73
+ {
74
+ "epoch": 1.3785972772703774,
75
+ "eval_accuracy": 0.5349752225383133,
76
+ "eval_loss": 2.6481692790985107,
77
+ "eval_runtime": 24.6033,
78
+ "eval_samples_per_second": 397.264,
79
+ "eval_steps_per_second": 24.834,
80
+ "step": 8000
81
+ },
82
+ {
83
+ "epoch": 1.7232465965879717,
84
+ "grad_norm": 5.172228813171387,
85
+ "learning_rate": 2.758917801137343e-05,
86
+ "loss": 2.5649,
87
+ "step": 10000
88
+ },
89
+ {
90
+ "epoch": 1.7232465965879717,
91
+ "eval_accuracy": 0.6087076297937304,
92
+ "eval_loss": 2.13348388671875,
93
+ "eval_runtime": 24.6211,
94
+ "eval_samples_per_second": 396.976,
95
+ "eval_steps_per_second": 24.816,
96
+ "step": 10000
97
+ },
98
+ {
99
+ "epoch": 2.067895915905566,
100
+ "grad_norm": 4.871993064880371,
101
+ "learning_rate": 2.6440346946981447e-05,
102
+ "loss": 2.2749,
103
+ "step": 12000
104
+ },
105
+ {
106
+ "epoch": 2.067895915905566,
107
+ "eval_accuracy": 0.6281529792701336,
108
+ "eval_loss": 1.9895449876785278,
109
+ "eval_runtime": 24.453,
110
+ "eval_samples_per_second": 399.705,
111
+ "eval_steps_per_second": 24.987,
112
+ "step": 12000
113
+ },
114
+ {
115
+ "epoch": 2.4125452352231607,
116
+ "grad_norm": 8.037242889404297,
117
+ "learning_rate": 2.5291515882589467e-05,
118
+ "loss": 2.1572,
119
+ "step": 14000
120
+ },
121
+ {
122
+ "epoch": 2.4125452352231607,
123
+ "eval_accuracy": 0.6353159252095423,
124
+ "eval_loss": 1.9312896728515625,
125
+ "eval_runtime": 24.4658,
126
+ "eval_samples_per_second": 399.496,
127
+ "eval_steps_per_second": 24.974,
128
+ "step": 14000
129
+ },
130
+ {
131
+ "epoch": 2.757194554540755,
132
+ "grad_norm": 4.320974349975586,
133
+ "learning_rate": 2.4142684818197487e-05,
134
+ "loss": 2.1009,
135
+ "step": 16000
136
+ },
137
+ {
138
+ "epoch": 2.757194554540755,
139
+ "eval_accuracy": 0.6428579553856829,
140
+ "eval_loss": 1.864585280418396,
141
+ "eval_runtime": 24.4545,
142
+ "eval_samples_per_second": 399.68,
143
+ "eval_steps_per_second": 24.985,
144
+ "step": 16000
145
+ },
146
+ {
147
+ "epoch": 3.101843873858349,
148
+ "grad_norm": 4.6416168212890625,
149
+ "learning_rate": 2.2993853753805504e-05,
150
+ "loss": 2.0609,
151
+ "step": 18000
152
+ },
153
+ {
154
+ "epoch": 3.101843873858349,
155
+ "eval_accuracy": 0.6450457483325106,
156
+ "eval_loss": 1.8571828603744507,
157
+ "eval_runtime": 24.4634,
158
+ "eval_samples_per_second": 399.535,
159
+ "eval_steps_per_second": 24.976,
160
+ "step": 18000
161
+ },
162
+ {
163
+ "epoch": 3.4464931931759435,
164
+ "grad_norm": 4.341440677642822,
165
+ "learning_rate": 2.184502268941352e-05,
166
+ "loss": 2.0885,
167
+ "step": 20000
168
+ },
169
+ {
170
+ "epoch": 3.4464931931759435,
171
+ "eval_accuracy": 0.6284792764252838,
172
+ "eval_loss": 1.9489394426345825,
173
+ "eval_runtime": 24.6433,
174
+ "eval_samples_per_second": 396.618,
175
+ "eval_steps_per_second": 24.794,
176
+ "step": 20000
177
+ },
178
+ {
179
+ "epoch": 3.791142512493538,
180
+ "grad_norm": 4.660053253173828,
181
+ "learning_rate": 2.069619162502154e-05,
182
+ "loss": 1.9891,
183
+ "step": 22000
184
+ },
185
+ {
186
+ "epoch": 3.791142512493538,
187
+ "eval_accuracy": 0.6582960564701575,
188
+ "eval_loss": 1.7700080871582031,
189
+ "eval_runtime": 24.616,
190
+ "eval_samples_per_second": 397.059,
191
+ "eval_steps_per_second": 24.821,
192
+ "step": 22000
193
+ },
194
+ {
195
+ "epoch": 4.135791831811132,
196
+ "grad_norm": 3.9445292949676514,
197
+ "learning_rate": 1.954736056062956e-05,
198
+ "loss": 1.9368,
199
+ "step": 24000
200
+ },
201
+ {
202
+ "epoch": 4.135791831811132,
203
+ "eval_accuracy": 0.6608816779512006,
204
+ "eval_loss": 1.7397598028182983,
205
+ "eval_runtime": 24.6251,
206
+ "eval_samples_per_second": 396.912,
207
+ "eval_steps_per_second": 24.812,
208
+ "step": 24000
209
+ },
210
+ {
211
+ "epoch": 4.480441151128726,
212
+ "grad_norm": 4.561331748962402,
213
+ "learning_rate": 1.839852949623758e-05,
214
+ "loss": 1.9003,
215
+ "step": 26000
216
+ },
217
+ {
218
+ "epoch": 4.480441151128726,
219
+ "eval_accuracy": 0.666368433126864,
220
+ "eval_loss": 1.7164973020553589,
221
+ "eval_runtime": 24.4665,
222
+ "eval_samples_per_second": 399.485,
223
+ "eval_steps_per_second": 24.973,
224
+ "step": 26000
225
+ },
226
+ {
227
+ "epoch": 4.825090470446321,
228
+ "grad_norm": 4.358778476715088,
229
+ "learning_rate": 1.72496984318456e-05,
230
+ "loss": 1.9058,
231
+ "step": 28000
232
+ },
233
+ {
234
+ "epoch": 4.825090470446321,
235
+ "eval_accuracy": 0.666961039556835,
236
+ "eval_loss": 1.703224539756775,
237
+ "eval_runtime": 24.4455,
238
+ "eval_samples_per_second": 399.829,
239
+ "eval_steps_per_second": 24.994,
240
+ "step": 28000
241
+ }
242
+ ],
243
+ "logging_steps": 2000,
244
+ "max_steps": 58030,
245
+ "num_input_tokens_seen": 0,
246
+ "num_train_epochs": 10,
247
+ "save_steps": 2000,
248
+ "total_flos": 0.0,
249
+ "train_batch_size": 32,
250
+ "trial_name": null,
251
+ "trial_params": null
252
+ }
checkpoint-28000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:828a11e9b75940b4120312d1450c3472eb18a2c7fa0179d8afafbcd0800beb75
3
+ size 5304
checkpoint-28000/vocab.txt ADDED
The diff for this file is too large to render. See raw diff