slightlycodic commited on
Commit
b3c6147
·
verified ·
1 Parent(s): 0c66eb1

Upload 10 files

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3
25
+ },
26
+ "layer_norm_eps": 1e-05,
27
+ "max_position_embeddings": 514,
28
+ "model_type": "roberta",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.51.3",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22763e8c44a7ed6a21d4caf3e1170a84f1064628e9d44eab8d9cf4f2e361f5f1
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44137efcddb1970ad3fd98958a955fef90f883f11e210270f80b87bbb6a957e6
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
trainer_state.json ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 375,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08,
14
+ "grad_norm": 2.1940720081329346,
15
+ "learning_rate": 2e-05,
16
+ "loss": 1.0435,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.16,
21
+ "grad_norm": 2.7920234203338623,
22
+ "learning_rate": 2e-05,
23
+ "loss": 0.6718,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.24,
28
+ "grad_norm": 2.9994211196899414,
29
+ "learning_rate": 2e-05,
30
+ "loss": 0.5008,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.32,
35
+ "grad_norm": 7.913583755493164,
36
+ "learning_rate": 2e-05,
37
+ "loss": 0.4437,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.4,
42
+ "grad_norm": 3.560945987701416,
43
+ "learning_rate": 2e-05,
44
+ "loss": 0.3628,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.48,
49
+ "grad_norm": 6.318229675292969,
50
+ "learning_rate": 2e-05,
51
+ "loss": 0.3767,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.56,
56
+ "grad_norm": 2.496079444885254,
57
+ "learning_rate": 2e-05,
58
+ "loss": 0.3398,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.64,
63
+ "grad_norm": 4.720012664794922,
64
+ "learning_rate": 2e-05,
65
+ "loss": 0.3219,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.72,
70
+ "grad_norm": 4.714549541473389,
71
+ "learning_rate": 2e-05,
72
+ "loss": 0.3112,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.8,
77
+ "grad_norm": 4.124231338500977,
78
+ "learning_rate": 2e-05,
79
+ "loss": 0.3029,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.88,
84
+ "grad_norm": 5.186863899230957,
85
+ "learning_rate": 2e-05,
86
+ "loss": 0.2997,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.96,
91
+ "grad_norm": 4.2964582443237305,
92
+ "learning_rate": 2e-05,
93
+ "loss": 0.2656,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 1.0,
98
+ "eval_accuracy": 0.8880294192239412,
99
+ "eval_f1": 0.8036882807852468,
100
+ "eval_loss": 0.3132246732711792,
101
+ "eval_precision": 0.7543271915131211,
102
+ "eval_recall": 0.8599618077657543,
103
+ "eval_runtime": 0.4252,
104
+ "eval_samples_per_second": 352.805,
105
+ "eval_steps_per_second": 23.52,
106
+ "step": 125
107
+ },
108
+ {
109
+ "epoch": 1.04,
110
+ "grad_norm": 3.693039655685425,
111
+ "learning_rate": 2e-05,
112
+ "loss": 0.2821,
113
+ "step": 130
114
+ },
115
+ {
116
+ "epoch": 1.12,
117
+ "grad_norm": 5.225029468536377,
118
+ "learning_rate": 2e-05,
119
+ "loss": 0.2464,
120
+ "step": 140
121
+ },
122
+ {
123
+ "epoch": 1.2,
124
+ "grad_norm": 7.333633899688721,
125
+ "learning_rate": 2e-05,
126
+ "loss": 0.2913,
127
+ "step": 150
128
+ },
129
+ {
130
+ "epoch": 1.28,
131
+ "grad_norm": 3.361424446105957,
132
+ "learning_rate": 2e-05,
133
+ "loss": 0.2501,
134
+ "step": 160
135
+ },
136
+ {
137
+ "epoch": 1.3599999999999999,
138
+ "grad_norm": 3.7213943004608154,
139
+ "learning_rate": 2e-05,
140
+ "loss": 0.2563,
141
+ "step": 170
142
+ },
143
+ {
144
+ "epoch": 1.44,
145
+ "grad_norm": 4.98430061340332,
146
+ "learning_rate": 2e-05,
147
+ "loss": 0.234,
148
+ "step": 180
149
+ },
150
+ {
151
+ "epoch": 1.52,
152
+ "grad_norm": 5.262845993041992,
153
+ "learning_rate": 2e-05,
154
+ "loss": 0.2414,
155
+ "step": 190
156
+ },
157
+ {
158
+ "epoch": 1.6,
159
+ "grad_norm": 6.322588920593262,
160
+ "learning_rate": 2e-05,
161
+ "loss": 0.2807,
162
+ "step": 200
163
+ },
164
+ {
165
+ "epoch": 1.6800000000000002,
166
+ "grad_norm": 3.358001470565796,
167
+ "learning_rate": 2e-05,
168
+ "loss": 0.2247,
169
+ "step": 210
170
+ },
171
+ {
172
+ "epoch": 1.76,
173
+ "grad_norm": 3.0363667011260986,
174
+ "learning_rate": 2e-05,
175
+ "loss": 0.2259,
176
+ "step": 220
177
+ },
178
+ {
179
+ "epoch": 1.8399999999999999,
180
+ "grad_norm": 3.240709066390991,
181
+ "learning_rate": 2e-05,
182
+ "loss": 0.2361,
183
+ "step": 230
184
+ },
185
+ {
186
+ "epoch": 1.92,
187
+ "grad_norm": 3.994675874710083,
188
+ "learning_rate": 2e-05,
189
+ "loss": 0.2121,
190
+ "step": 240
191
+ },
192
+ {
193
+ "epoch": 2.0,
194
+ "grad_norm": 2.988025665283203,
195
+ "learning_rate": 2e-05,
196
+ "loss": 0.2175,
197
+ "step": 250
198
+ },
199
+ {
200
+ "epoch": 2.0,
201
+ "eval_accuracy": 0.898173979203652,
202
+ "eval_f1": 0.8382264829239066,
203
+ "eval_loss": 0.2903146743774414,
204
+ "eval_precision": 0.7917374080362196,
205
+ "eval_recall": 0.890515595162317,
206
+ "eval_runtime": 0.4109,
207
+ "eval_samples_per_second": 365.087,
208
+ "eval_steps_per_second": 24.339,
209
+ "step": 250
210
+ },
211
+ {
212
+ "epoch": 2.08,
213
+ "grad_norm": 2.051712989807129,
214
+ "learning_rate": 2e-05,
215
+ "loss": 0.1549,
216
+ "step": 260
217
+ },
218
+ {
219
+ "epoch": 2.16,
220
+ "grad_norm": 4.846020698547363,
221
+ "learning_rate": 2e-05,
222
+ "loss": 0.2409,
223
+ "step": 270
224
+ },
225
+ {
226
+ "epoch": 2.24,
227
+ "grad_norm": 2.303395986557007,
228
+ "learning_rate": 2e-05,
229
+ "loss": 0.1975,
230
+ "step": 280
231
+ },
232
+ {
233
+ "epoch": 2.32,
234
+ "grad_norm": 3.298722743988037,
235
+ "learning_rate": 2e-05,
236
+ "loss": 0.1776,
237
+ "step": 290
238
+ },
239
+ {
240
+ "epoch": 2.4,
241
+ "grad_norm": 2.484005928039551,
242
+ "learning_rate": 2e-05,
243
+ "loss": 0.189,
244
+ "step": 300
245
+ },
246
+ {
247
+ "epoch": 2.48,
248
+ "grad_norm": 3.962454319000244,
249
+ "learning_rate": 2e-05,
250
+ "loss": 0.1937,
251
+ "step": 310
252
+ },
253
+ {
254
+ "epoch": 2.56,
255
+ "grad_norm": 4.414576053619385,
256
+ "learning_rate": 2e-05,
257
+ "loss": 0.1799,
258
+ "step": 320
259
+ },
260
+ {
261
+ "epoch": 2.64,
262
+ "grad_norm": 4.953629970550537,
263
+ "learning_rate": 2e-05,
264
+ "loss": 0.2084,
265
+ "step": 330
266
+ },
267
+ {
268
+ "epoch": 2.7199999999999998,
269
+ "grad_norm": 4.017173767089844,
270
+ "learning_rate": 2e-05,
271
+ "loss": 0.1637,
272
+ "step": 340
273
+ },
274
+ {
275
+ "epoch": 2.8,
276
+ "grad_norm": 3.566938638687134,
277
+ "learning_rate": 2e-05,
278
+ "loss": 0.2825,
279
+ "step": 350
280
+ },
281
+ {
282
+ "epoch": 2.88,
283
+ "grad_norm": 4.922001838684082,
284
+ "learning_rate": 2e-05,
285
+ "loss": 0.1963,
286
+ "step": 360
287
+ },
288
+ {
289
+ "epoch": 2.96,
290
+ "grad_norm": 5.1235270500183105,
291
+ "learning_rate": 2e-05,
292
+ "loss": 0.2167,
293
+ "step": 370
294
+ }
295
+ ],
296
+ "logging_steps": 10,
297
+ "max_steps": 375,
298
+ "num_input_tokens_seen": 0,
299
+ "num_train_epochs": 3,
300
+ "save_steps": 500,
301
+ "stateful_callbacks": {
302
+ "TrainerControl": {
303
+ "args": {
304
+ "should_epoch_stop": false,
305
+ "should_evaluate": false,
306
+ "should_log": false,
307
+ "should_save": true,
308
+ "should_training_stop": true
309
+ },
310
+ "attributes": {}
311
+ }
312
+ },
313
+ "total_flos": 473453787413376.0,
314
+ "train_batch_size": 16,
315
+ "trial_name": null,
316
+ "trial_params": null
317
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a730cff3603931575f2101dc4e8e99d90db53e7666bc8b65b685bd4a336f95cb
3
+ size 5304
vocab.json ADDED
The diff for this file is too large to render. See raw diff