adithya8 commited on
Commit
1ab55b5
1 Parent(s): 91940cc

pushing roberta-large trained on Schone Power dataset

Browse files
README.md CHANGED
@@ -1,3 +1,68 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ base_model: roberta-large
6
+ tags:
7
+ - generated_from_trainer
8
+ datasets:
9
+ - glue
10
+ model-index:
11
+ - name: final
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # final
19
+
20
+ This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on the GLUE SCHONE_POW dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.1556
23
+ - Roc Auc: 0.9742
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 1e-05
43
+ - train_batch_size: 128
44
+ - eval_batch_size: 256
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 256
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 5.0
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Roc Auc |
55
+ |:-------------:|:------:|:----:|:---------------:|:-------:|
56
+ | 0.2924 | 0.9985 | 332 | 0.2605 | 0.9248 |
57
+ | 0.2553 | 2.0 | 665 | 0.2234 | 0.9468 |
58
+ | 0.2317 | 2.9985 | 997 | 0.1899 | 0.9620 |
59
+ | 0.2063 | 4.0 | 1330 | 0.1645 | 0.9715 |
60
+ | 0.1897 | 4.9925 | 1660 | 0.1556 | 0.9742 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.44.0.dev0
66
+ - Pytorch 2.0.1+cu118
67
+ - Datasets 2.20.0
68
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.992481203007519,
3
+ "eval_loss": 0.155641108751297,
4
+ "eval_roc_auc": 0.9741751333869398,
5
+ "eval_runtime": 36.862,
6
+ "eval_samples": 16301,
7
+ "eval_samples_per_second": 442.217,
8
+ "eval_steps_per_second": 1.736,
9
+ "total_flos": 4.323837898114577e+16,
10
+ "train_loss": 0.24427399233163122,
11
+ "train_runtime": 2915.5625,
12
+ "train_samples": 85027,
13
+ "train_samples_per_second": 145.816,
14
+ "train_steps_per_second": 0.569
15
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-large",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
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": "schone_pow",
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4096,
16
+ "label2id": {
17
+ "No": 0,
18
+ "Yes": 1
19
+ },
20
+ "layer_norm_eps": 1e-05,
21
+ "max_position_embeddings": 514,
22
+ "model_type": "roberta",
23
+ "num_attention_heads": 16,
24
+ "num_hidden_layers": 24,
25
+ "pad_token_id": 1,
26
+ "position_embedding_type": "absolute",
27
+ "problem_type": "single_label_classification",
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.44.0.dev0",
30
+ "type_vocab_size": 1,
31
+ "use_cache": true,
32
+ "vocab_size": 50265
33
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.992481203007519,
3
+ "eval_loss": 0.155641108751297,
4
+ "eval_roc_auc": 0.9741751333869398,
5
+ "eval_runtime": 36.862,
6
+ "eval_samples": 16301,
7
+ "eval_samples_per_second": 442.217,
8
+ "eval_steps_per_second": 1.736
9
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:208923dac2c8cc9ca874bf5e9f039e4963522c1d1d68120b9bf250ec84ee5dac
3
+ size 1421495416
predict_results_schone_pow.txt ADDED
The diff for this file is too large to render. See raw diff
 
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
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": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 512,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.992481203007519,
3
+ "total_flos": 4.323837898114577e+16,
4
+ "train_loss": 0.24427399233163122,
5
+ "train_runtime": 2915.5625,
6
+ "train_samples": 85027,
7
+ "train_samples_per_second": 145.816,
8
+ "train_steps_per_second": 0.569
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.155641108751297,
3
+ "best_model_checkpoint": "/cronus_data/avirinchipur/implicit_motives/schone_pow_roba_large/final/checkpoint-1660",
4
+ "epoch": 4.992481203007519,
5
+ "eval_steps": 500,
6
+ "global_step": 1660,
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.15037593984962405,
13
+ "grad_norm": 7.807601451873779,
14
+ "learning_rate": 9.698795180722893e-06,
15
+ "loss": 0.4607,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.3007518796992481,
20
+ "grad_norm": 4.938343524932861,
21
+ "learning_rate": 9.397590361445785e-06,
22
+ "loss": 0.383,
23
+ "step": 100
24
+ },
25
+ {
26
+ "epoch": 0.45112781954887216,
27
+ "grad_norm": 4.443939208984375,
28
+ "learning_rate": 9.096385542168675e-06,
29
+ "loss": 0.3231,
30
+ "step": 150
31
+ },
32
+ {
33
+ "epoch": 0.6015037593984962,
34
+ "grad_norm": 3.3444550037384033,
35
+ "learning_rate": 8.795180722891567e-06,
36
+ "loss": 0.3008,
37
+ "step": 200
38
+ },
39
+ {
40
+ "epoch": 0.7518796992481203,
41
+ "grad_norm": 6.133885383605957,
42
+ "learning_rate": 8.493975903614459e-06,
43
+ "loss": 0.2952,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 0.9022556390977443,
48
+ "grad_norm": 4.0399627685546875,
49
+ "learning_rate": 8.19277108433735e-06,
50
+ "loss": 0.2924,
51
+ "step": 300
52
+ },
53
+ {
54
+ "epoch": 0.9984962406015038,
55
+ "eval_loss": 0.26054325699806213,
56
+ "eval_roc_auc": 0.9248130559023198,
57
+ "eval_runtime": 37.9704,
58
+ "eval_samples_per_second": 429.309,
59
+ "eval_steps_per_second": 1.686,
60
+ "step": 332
61
+ },
62
+ {
63
+ "epoch": 1.0526315789473684,
64
+ "grad_norm": 3.2617785930633545,
65
+ "learning_rate": 7.891566265060243e-06,
66
+ "loss": 0.2848,
67
+ "step": 350
68
+ },
69
+ {
70
+ "epoch": 1.2030075187969924,
71
+ "grad_norm": 2.823629140853882,
72
+ "learning_rate": 7.590361445783133e-06,
73
+ "loss": 0.2591,
74
+ "step": 400
75
+ },
76
+ {
77
+ "epoch": 1.3533834586466165,
78
+ "grad_norm": 8.734086990356445,
79
+ "learning_rate": 7.289156626506025e-06,
80
+ "loss": 0.2651,
81
+ "step": 450
82
+ },
83
+ {
84
+ "epoch": 1.5037593984962405,
85
+ "grad_norm": 5.4109601974487305,
86
+ "learning_rate": 6.987951807228917e-06,
87
+ "loss": 0.2658,
88
+ "step": 500
89
+ },
90
+ {
91
+ "epoch": 1.6541353383458648,
92
+ "grad_norm": 3.0360822677612305,
93
+ "learning_rate": 6.686746987951808e-06,
94
+ "loss": 0.2609,
95
+ "step": 550
96
+ },
97
+ {
98
+ "epoch": 1.8045112781954886,
99
+ "grad_norm": 4.336048603057861,
100
+ "learning_rate": 6.385542168674699e-06,
101
+ "loss": 0.2629,
102
+ "step": 600
103
+ },
104
+ {
105
+ "epoch": 1.954887218045113,
106
+ "grad_norm": 3.214564800262451,
107
+ "learning_rate": 6.084337349397591e-06,
108
+ "loss": 0.2553,
109
+ "step": 650
110
+ },
111
+ {
112
+ "epoch": 2.0,
113
+ "eval_loss": 0.2233881801366806,
114
+ "eval_roc_auc": 0.9468388936522675,
115
+ "eval_runtime": 37.4563,
116
+ "eval_samples_per_second": 435.2,
117
+ "eval_steps_per_second": 1.709,
118
+ "step": 665
119
+ },
120
+ {
121
+ "epoch": 2.1052631578947367,
122
+ "grad_norm": 3.9632742404937744,
123
+ "learning_rate": 5.783132530120482e-06,
124
+ "loss": 0.2392,
125
+ "step": 700
126
+ },
127
+ {
128
+ "epoch": 2.255639097744361,
129
+ "grad_norm": 3.3193111419677734,
130
+ "learning_rate": 5.4819277108433745e-06,
131
+ "loss": 0.2336,
132
+ "step": 750
133
+ },
134
+ {
135
+ "epoch": 2.406015037593985,
136
+ "grad_norm": 3.099203109741211,
137
+ "learning_rate": 5.180722891566266e-06,
138
+ "loss": 0.2195,
139
+ "step": 800
140
+ },
141
+ {
142
+ "epoch": 2.556390977443609,
143
+ "grad_norm": 5.596978664398193,
144
+ "learning_rate": 4.8795180722891575e-06,
145
+ "loss": 0.2339,
146
+ "step": 850
147
+ },
148
+ {
149
+ "epoch": 2.706766917293233,
150
+ "grad_norm": 3.742239236831665,
151
+ "learning_rate": 4.578313253012049e-06,
152
+ "loss": 0.2304,
153
+ "step": 900
154
+ },
155
+ {
156
+ "epoch": 2.857142857142857,
157
+ "grad_norm": 3.622905731201172,
158
+ "learning_rate": 4.27710843373494e-06,
159
+ "loss": 0.2317,
160
+ "step": 950
161
+ },
162
+ {
163
+ "epoch": 2.998496240601504,
164
+ "eval_loss": 0.189885213971138,
165
+ "eval_roc_auc": 0.9619820442841185,
166
+ "eval_runtime": 37.3548,
167
+ "eval_samples_per_second": 436.383,
168
+ "eval_steps_per_second": 1.713,
169
+ "step": 997
170
+ },
171
+ {
172
+ "epoch": 3.007518796992481,
173
+ "grad_norm": 3.5725858211517334,
174
+ "learning_rate": 3.975903614457832e-06,
175
+ "loss": 0.229,
176
+ "step": 1000
177
+ },
178
+ {
179
+ "epoch": 3.1578947368421053,
180
+ "grad_norm": 3.569227933883667,
181
+ "learning_rate": 3.6746987951807235e-06,
182
+ "loss": 0.1968,
183
+ "step": 1050
184
+ },
185
+ {
186
+ "epoch": 3.308270676691729,
187
+ "grad_norm": 5.20859432220459,
188
+ "learning_rate": 3.3734939759036146e-06,
189
+ "loss": 0.2058,
190
+ "step": 1100
191
+ },
192
+ {
193
+ "epoch": 3.4586466165413534,
194
+ "grad_norm": 6.604429244995117,
195
+ "learning_rate": 3.072289156626506e-06,
196
+ "loss": 0.2078,
197
+ "step": 1150
198
+ },
199
+ {
200
+ "epoch": 3.6090225563909772,
201
+ "grad_norm": 4.930511474609375,
202
+ "learning_rate": 2.771084337349398e-06,
203
+ "loss": 0.2053,
204
+ "step": 1200
205
+ },
206
+ {
207
+ "epoch": 3.7593984962406015,
208
+ "grad_norm": 3.622622489929199,
209
+ "learning_rate": 2.469879518072289e-06,
210
+ "loss": 0.2073,
211
+ "step": 1250
212
+ },
213
+ {
214
+ "epoch": 3.909774436090226,
215
+ "grad_norm": 4.740933895111084,
216
+ "learning_rate": 2.168674698795181e-06,
217
+ "loss": 0.2063,
218
+ "step": 1300
219
+ },
220
+ {
221
+ "epoch": 4.0,
222
+ "eval_loss": 0.16450706124305725,
223
+ "eval_roc_auc": 0.9714800977158984,
224
+ "eval_runtime": 37.3773,
225
+ "eval_samples_per_second": 436.121,
226
+ "eval_steps_per_second": 1.712,
227
+ "step": 1330
228
+ },
229
+ {
230
+ "epoch": 4.06015037593985,
231
+ "grad_norm": 6.452109336853027,
232
+ "learning_rate": 1.8674698795180723e-06,
233
+ "loss": 0.1969,
234
+ "step": 1350
235
+ },
236
+ {
237
+ "epoch": 4.2105263157894735,
238
+ "grad_norm": 4.532094478607178,
239
+ "learning_rate": 1.566265060240964e-06,
240
+ "loss": 0.1879,
241
+ "step": 1400
242
+ },
243
+ {
244
+ "epoch": 4.360902255639098,
245
+ "grad_norm": 4.941292762756348,
246
+ "learning_rate": 1.2650602409638555e-06,
247
+ "loss": 0.1803,
248
+ "step": 1450
249
+ },
250
+ {
251
+ "epoch": 4.511278195488722,
252
+ "grad_norm": 3.9667301177978516,
253
+ "learning_rate": 9.638554216867472e-07,
254
+ "loss": 0.1821,
255
+ "step": 1500
256
+ },
257
+ {
258
+ "epoch": 4.661654135338345,
259
+ "grad_norm": 4.0561065673828125,
260
+ "learning_rate": 6.626506024096387e-07,
261
+ "loss": 0.1898,
262
+ "step": 1550
263
+ },
264
+ {
265
+ "epoch": 4.81203007518797,
266
+ "grad_norm": 4.69659423828125,
267
+ "learning_rate": 3.614457831325301e-07,
268
+ "loss": 0.1885,
269
+ "step": 1600
270
+ },
271
+ {
272
+ "epoch": 4.962406015037594,
273
+ "grad_norm": 4.419920444488525,
274
+ "learning_rate": 6.02409638554217e-08,
275
+ "loss": 0.1897,
276
+ "step": 1650
277
+ },
278
+ {
279
+ "epoch": 4.992481203007519,
280
+ "eval_loss": 0.155641108751297,
281
+ "eval_roc_auc": 0.9741751333869398,
282
+ "eval_runtime": 37.3327,
283
+ "eval_samples_per_second": 436.641,
284
+ "eval_steps_per_second": 1.714,
285
+ "step": 1660
286
+ },
287
+ {
288
+ "epoch": 4.992481203007519,
289
+ "step": 1660,
290
+ "total_flos": 4.323837898114577e+16,
291
+ "train_loss": 0.24427399233163122,
292
+ "train_runtime": 2915.5625,
293
+ "train_samples_per_second": 145.816,
294
+ "train_steps_per_second": 0.569
295
+ }
296
+ ],
297
+ "logging_steps": 50,
298
+ "max_steps": 1660,
299
+ "num_input_tokens_seen": 0,
300
+ "num_train_epochs": 5,
301
+ "save_steps": 500,
302
+ "stateful_callbacks": {
303
+ "TrainerControl": {
304
+ "args": {
305
+ "should_epoch_stop": false,
306
+ "should_evaluate": false,
307
+ "should_log": false,
308
+ "should_save": true,
309
+ "should_training_stop": true
310
+ },
311
+ "attributes": {}
312
+ }
313
+ },
314
+ "total_flos": 4.323837898114577e+16,
315
+ "train_batch_size": 128,
316
+ "trial_name": null,
317
+ "trial_params": null
318
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cbdeca5d088acc2a97c0f58c1ddd13b0642f20ee1cd04ae7049513a670cf573
3
+ size 4859
vocab.json ADDED
The diff for this file is too large to render. See raw diff