AmrE commited on
Commit
25b9589
1 Parent(s): 098897d

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: google-bert/bert-base-uncased
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Text Classification
14
+
15
+ ## Validation Metrics
16
+ loss: 0.03319514915347099
17
+
18
+ f1: 1.0
19
+
20
+ precision: 1.0
21
+
22
+ recall: 1.0
23
+
24
+ auc: 1.0
25
+
26
+ accuracy: 1.0
checkpoint-33/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "bad",
15
+ "1": "good"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "bad": 0,
21
+ "good": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.41.2",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 30522
36
+ }
checkpoint-33/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c788798205d3d53d6b443880010736a675707ccfff41bee6c274ae7443392d6
3
+ size 437958648
checkpoint-33/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7eeecebdf9beb45fbffecbc97765dae401a17c4db19470ca8128238bfe16b10c
3
+ size 876032762
checkpoint-33/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:348fb8fcc20a54e94bcc1e929a18a2b2866c705ca130e8ae75d703f77c5e05fd
3
+ size 13990
checkpoint-33/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c83ada173bd68ec90f0f92b7e1947554b1d5c514bcf319907210588decb5cc3
3
+ size 1064
checkpoint-33/trainer_state.json ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.03319514915347099,
3
+ "best_model_checkpoint": "autotrain-4usrt-85kzb/checkpoint-33",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 33,
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.09090909090909091,
13
+ "grad_norm": 11.761338233947754,
14
+ "learning_rate": 1.25e-05,
15
+ "loss": 0.8704,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.18181818181818182,
20
+ "grad_norm": 7.499186038970947,
21
+ "learning_rate": 2.5e-05,
22
+ "loss": 0.5885,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.2727272727272727,
27
+ "grad_norm": 5.171218395233154,
28
+ "learning_rate": 3.7500000000000003e-05,
29
+ "loss": 0.615,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.36363636363636365,
34
+ "grad_norm": 10.380544662475586,
35
+ "learning_rate": 5e-05,
36
+ "loss": 0.6992,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.45454545454545453,
41
+ "grad_norm": 5.8920512199401855,
42
+ "learning_rate": 4.827586206896552e-05,
43
+ "loss": 0.5152,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.5454545454545454,
48
+ "grad_norm": 6.648828506469727,
49
+ "learning_rate": 4.655172413793104e-05,
50
+ "loss": 0.4446,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.6363636363636364,
55
+ "grad_norm": 12.528966903686523,
56
+ "learning_rate": 4.482758620689655e-05,
57
+ "loss": 0.4955,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 0.7272727272727273,
62
+ "grad_norm": 7.694393157958984,
63
+ "learning_rate": 4.3103448275862066e-05,
64
+ "loss": 0.5072,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 0.8181818181818182,
69
+ "grad_norm": 7.016471862792969,
70
+ "learning_rate": 4.1379310344827587e-05,
71
+ "loss": 0.2834,
72
+ "step": 9
73
+ },
74
+ {
75
+ "epoch": 0.9090909090909091,
76
+ "grad_norm": 7.048137664794922,
77
+ "learning_rate": 3.965517241379311e-05,
78
+ "loss": 0.2472,
79
+ "step": 10
80
+ },
81
+ {
82
+ "epoch": 1.0,
83
+ "grad_norm": 7.261392116546631,
84
+ "learning_rate": 3.793103448275862e-05,
85
+ "loss": 0.2076,
86
+ "step": 11
87
+ },
88
+ {
89
+ "epoch": 1.0,
90
+ "eval_accuracy": 0.9523809523809523,
91
+ "eval_auc": 1.0,
92
+ "eval_f1": 0.9473684210526315,
93
+ "eval_loss": 0.1770750731229782,
94
+ "eval_precision": 1.0,
95
+ "eval_recall": 0.9,
96
+ "eval_runtime": 4.8171,
97
+ "eval_samples_per_second": 4.359,
98
+ "eval_steps_per_second": 0.415,
99
+ "step": 11
100
+ },
101
+ {
102
+ "epoch": 1.0909090909090908,
103
+ "grad_norm": 6.019667625427246,
104
+ "learning_rate": 3.620689655172414e-05,
105
+ "loss": 0.1873,
106
+ "step": 12
107
+ },
108
+ {
109
+ "epoch": 1.1818181818181819,
110
+ "grad_norm": 4.4459710121154785,
111
+ "learning_rate": 3.4482758620689657e-05,
112
+ "loss": 0.119,
113
+ "step": 13
114
+ },
115
+ {
116
+ "epoch": 1.2727272727272727,
117
+ "grad_norm": 2.7395246028900146,
118
+ "learning_rate": 3.275862068965517e-05,
119
+ "loss": 0.0936,
120
+ "step": 14
121
+ },
122
+ {
123
+ "epoch": 1.3636363636363638,
124
+ "grad_norm": 2.9547948837280273,
125
+ "learning_rate": 3.103448275862069e-05,
126
+ "loss": 0.0986,
127
+ "step": 15
128
+ },
129
+ {
130
+ "epoch": 1.4545454545454546,
131
+ "grad_norm": 7.345340251922607,
132
+ "learning_rate": 2.9310344827586206e-05,
133
+ "loss": 0.0939,
134
+ "step": 16
135
+ },
136
+ {
137
+ "epoch": 1.5454545454545454,
138
+ "grad_norm": 2.4599573612213135,
139
+ "learning_rate": 2.7586206896551727e-05,
140
+ "loss": 0.0789,
141
+ "step": 17
142
+ },
143
+ {
144
+ "epoch": 1.6363636363636362,
145
+ "grad_norm": 3.887648582458496,
146
+ "learning_rate": 2.5862068965517244e-05,
147
+ "loss": 0.0814,
148
+ "step": 18
149
+ },
150
+ {
151
+ "epoch": 1.7272727272727273,
152
+ "grad_norm": 2.253195285797119,
153
+ "learning_rate": 2.413793103448276e-05,
154
+ "loss": 0.0746,
155
+ "step": 19
156
+ },
157
+ {
158
+ "epoch": 1.8181818181818183,
159
+ "grad_norm": 2.3239686489105225,
160
+ "learning_rate": 2.2413793103448276e-05,
161
+ "loss": 0.0713,
162
+ "step": 20
163
+ },
164
+ {
165
+ "epoch": 1.9090909090909092,
166
+ "grad_norm": 2.0128979682922363,
167
+ "learning_rate": 2.0689655172413793e-05,
168
+ "loss": 0.0609,
169
+ "step": 21
170
+ },
171
+ {
172
+ "epoch": 2.0,
173
+ "grad_norm": 3.9712774753570557,
174
+ "learning_rate": 1.896551724137931e-05,
175
+ "loss": 0.0998,
176
+ "step": 22
177
+ },
178
+ {
179
+ "epoch": 2.0,
180
+ "eval_accuracy": 1.0,
181
+ "eval_auc": 1.0,
182
+ "eval_f1": 1.0,
183
+ "eval_loss": 0.054505739361047745,
184
+ "eval_precision": 1.0,
185
+ "eval_recall": 1.0,
186
+ "eval_runtime": 4.8545,
187
+ "eval_samples_per_second": 4.326,
188
+ "eval_steps_per_second": 0.412,
189
+ "step": 22
190
+ },
191
+ {
192
+ "epoch": 2.090909090909091,
193
+ "grad_norm": 1.6843291521072388,
194
+ "learning_rate": 1.7241379310344828e-05,
195
+ "loss": 0.0552,
196
+ "step": 23
197
+ },
198
+ {
199
+ "epoch": 2.1818181818181817,
200
+ "grad_norm": 1.4115827083587646,
201
+ "learning_rate": 1.5517241379310346e-05,
202
+ "loss": 0.0461,
203
+ "step": 24
204
+ },
205
+ {
206
+ "epoch": 2.2727272727272725,
207
+ "grad_norm": 1.6311649084091187,
208
+ "learning_rate": 1.3793103448275863e-05,
209
+ "loss": 0.0515,
210
+ "step": 25
211
+ },
212
+ {
213
+ "epoch": 2.3636363636363638,
214
+ "grad_norm": 1.2126336097717285,
215
+ "learning_rate": 1.206896551724138e-05,
216
+ "loss": 0.0385,
217
+ "step": 26
218
+ },
219
+ {
220
+ "epoch": 2.4545454545454546,
221
+ "grad_norm": 1.5105429887771606,
222
+ "learning_rate": 1.0344827586206897e-05,
223
+ "loss": 0.0463,
224
+ "step": 27
225
+ },
226
+ {
227
+ "epoch": 2.5454545454545454,
228
+ "grad_norm": 1.3499268293380737,
229
+ "learning_rate": 8.620689655172414e-06,
230
+ "loss": 0.0418,
231
+ "step": 28
232
+ },
233
+ {
234
+ "epoch": 2.6363636363636362,
235
+ "grad_norm": 1.2205418348312378,
236
+ "learning_rate": 6.896551724137932e-06,
237
+ "loss": 0.0381,
238
+ "step": 29
239
+ },
240
+ {
241
+ "epoch": 2.7272727272727275,
242
+ "grad_norm": 1.1028234958648682,
243
+ "learning_rate": 5.172413793103448e-06,
244
+ "loss": 0.0346,
245
+ "step": 30
246
+ },
247
+ {
248
+ "epoch": 2.8181818181818183,
249
+ "grad_norm": 1.0579960346221924,
250
+ "learning_rate": 3.448275862068966e-06,
251
+ "loss": 0.0336,
252
+ "step": 31
253
+ },
254
+ {
255
+ "epoch": 2.909090909090909,
256
+ "grad_norm": 1.2498091459274292,
257
+ "learning_rate": 1.724137931034483e-06,
258
+ "loss": 0.0392,
259
+ "step": 32
260
+ },
261
+ {
262
+ "epoch": 3.0,
263
+ "grad_norm": 1.5818809270858765,
264
+ "learning_rate": 0.0,
265
+ "loss": 0.0462,
266
+ "step": 33
267
+ },
268
+ {
269
+ "epoch": 3.0,
270
+ "eval_accuracy": 1.0,
271
+ "eval_auc": 1.0,
272
+ "eval_f1": 1.0,
273
+ "eval_loss": 0.03319514915347099,
274
+ "eval_precision": 1.0,
275
+ "eval_recall": 1.0,
276
+ "eval_runtime": 4.8139,
277
+ "eval_samples_per_second": 4.362,
278
+ "eval_steps_per_second": 0.415,
279
+ "step": 33
280
+ }
281
+ ],
282
+ "logging_steps": 1,
283
+ "max_steps": 33,
284
+ "num_input_tokens_seen": 0,
285
+ "num_train_epochs": 3,
286
+ "save_steps": 500,
287
+ "stateful_callbacks": {
288
+ "EarlyStoppingCallback": {
289
+ "args": {
290
+ "early_stopping_patience": 5,
291
+ "early_stopping_threshold": 0.01
292
+ },
293
+ "attributes": {
294
+ "early_stopping_patience_counter": 0
295
+ }
296
+ },
297
+ "TrainerControl": {
298
+ "args": {
299
+ "should_epoch_stop": false,
300
+ "should_evaluate": false,
301
+ "should_log": false,
302
+ "should_save": true,
303
+ "should_training_stop": true
304
+ },
305
+ "attributes": {}
306
+ }
307
+ },
308
+ "total_flos": 15983996613120.0,
309
+ "train_batch_size": 8,
310
+ "trial_name": null,
311
+ "trial_params": null
312
+ }
checkpoint-33/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c30ecce45839480cd8052abce5a4e9800aefe1b7e7694bbc951deee261f72a40
3
+ size 5176
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "bad",
15
+ "1": "good"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "bad": 0,
21
+ "good": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.41.2",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 30522
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c788798205d3d53d6b443880010736a675707ccfff41bee6c274ae7443392d6
3
+ size 437958648
runs/Jun22_14-03-07_r-amre-autotrain-foerderfibel-x0kr21pd-8e24b-22osc/events.out.tfevents.1719064988.r-amre-autotrain-foerderfibel-x0kr21pd-8e24b-22osc.209.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1034f73db1ac9bc1c31beffb1b8cd4231854ac3d034ec5f00dd12a58189a69f5
3
- size 4981
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec1df2089d6dc6f16a5f0e03bd9928994c86fd2a1bed05e48f51ffac5e9b6493
3
+ size 13687
runs/Jun22_14-03-07_r-amre-autotrain-foerderfibel-x0kr21pd-8e24b-22osc/events.out.tfevents.1719065201.r-amre-autotrain-foerderfibel-x0kr21pd-8e24b-22osc.209.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfa5fa713a79d6ad98a21b15710f38fa81907ba3ada37f904ac890813ef4167b
3
+ size 597
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c30ecce45839480cd8052abce5a4e9800aefe1b7e7694bbc951deee261f72a40
3
+ size 5176
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-4usrt-85kzb/autotrain-data",
3
+ "model": "google-bert/bert-base-uncased",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 128,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "text_column": "autotrain_text",
18
+ "target_column": "autotrain_label",
19
+ "logging_steps": -1,
20
+ "project_name": "autotrain-4usrt-85kzb",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "fp16",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "amre",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff