rss9051 commited on
Commit
7869983
·
verified ·
1 Parent(s): 97a5cc5

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: rss9051/autotrein-BERT-iiLEX-dgs-0003
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: 1.5718337297439575
17
+
18
+ f1_macro: 0.5764297665936106
19
+
20
+ f1_micro: 0.6607142857142857
21
+
22
+ f1_weighted: 0.6685474450942381
23
+
24
+ precision_macro: 0.5781369792997699
25
+
26
+ precision_micro: 0.6607142857142857
27
+
28
+ precision_weighted: 0.6808154556545336
29
+
30
+ recall_macro: 0.5778714544420972
31
+
32
+ recall_micro: 0.6607142857142857
33
+
34
+ recall_weighted: 0.6607142857142857
35
+
36
+ accuracy: 0.6607142857142857
checkpoint-112/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "rss9051/autotrein-BERT-iiLEX-dgs-0003",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "1 - INTIMA\u00c7\u00c3O INICIAL",
15
+ "1": "2 - INTIMA\u00c7\u00c3O INSTRU\u00c7\u00c3O",
16
+ "2": "3 - INTIMA\u00c7\u00c3O RECURSAL",
17
+ "3": "4 - INTIMA\u00c7\u00c3O CUMPRIMENTO DE SENTEN\u00c7A",
18
+ "4": "5 - INTIMA\u00c7\u00c3O TR\u00c2NSITO"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "1 - INTIMA\u00c7\u00c3O INICIAL": 0,
24
+ "2 - INTIMA\u00c7\u00c3O INSTRU\u00c7\u00c3O": 1,
25
+ "3 - INTIMA\u00c7\u00c3O RECURSAL": 2,
26
+ "4 - INTIMA\u00c7\u00c3O CUMPRIMENTO DE SENTEN\u00c7A": 3,
27
+ "5 - INTIMA\u00c7\u00c3O TR\u00c2NSITO": 4
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "output_past": true,
35
+ "pad_token_id": 0,
36
+ "pooler_fc_size": 768,
37
+ "pooler_num_attention_heads": 12,
38
+ "pooler_num_fc_layers": 3,
39
+ "pooler_size_per_head": 128,
40
+ "pooler_type": "first_token_transform",
41
+ "position_embedding_type": "absolute",
42
+ "problem_type": "single_label_classification",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.46.2",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 29794
48
+ }
checkpoint-112/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e862230639b434d621415800f8f78f8357102efe8d1f6c75d4f0e442b4d432ba
3
+ size 435731452
checkpoint-112/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74a5351bcb40dd62c95fde697f7843d7cd45698ad2f8b327562c7ee2bc13d4d6
3
+ size 871578362
checkpoint-112/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b456c81202d31e710b49d15ba22807b951015bcd98801e116a131e7ece372405
3
+ size 13990
checkpoint-112/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab0cb6f06ff9e8ddeb90c4504035e1188707df9046a29fb9907dfbf1bbac175
3
+ size 1064
checkpoint-112/trainer_state.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.5718337297439575,
3
+ "best_model_checkpoint": "autotrein-BERT-iiLEX-dgs-0004/checkpoint-112",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 112,
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.044642857142857144,
13
+ "grad_norm": 2.0444529056549072,
14
+ "learning_rate": 7.3529411764705884e-06,
15
+ "loss": 0.266,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.08928571428571429,
20
+ "grad_norm": 17.472654342651367,
21
+ "learning_rate": 1.4705882352941177e-05,
22
+ "loss": 0.1248,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.13392857142857142,
27
+ "grad_norm": 6.122802257537842,
28
+ "learning_rate": 2.2058823529411766e-05,
29
+ "loss": 0.1436,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.17857142857142858,
34
+ "grad_norm": 12.507484436035156,
35
+ "learning_rate": 2.9411764705882354e-05,
36
+ "loss": 0.1236,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.22321428571428573,
41
+ "grad_norm": 1.480406403541565,
42
+ "learning_rate": 3.6764705882352945e-05,
43
+ "loss": 0.0626,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.26785714285714285,
48
+ "grad_norm": 0.38904812932014465,
49
+ "learning_rate": 4.411764705882353e-05,
50
+ "loss": 0.0915,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.3125,
55
+ "grad_norm": 0.2865840792655945,
56
+ "learning_rate": 4.983443708609272e-05,
57
+ "loss": 0.0897,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.35714285714285715,
62
+ "grad_norm": 25.76744842529297,
63
+ "learning_rate": 4.900662251655629e-05,
64
+ "loss": 0.0871,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.4017857142857143,
69
+ "grad_norm": 0.760350227355957,
70
+ "learning_rate": 4.8178807947019873e-05,
71
+ "loss": 0.0056,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.44642857142857145,
76
+ "grad_norm": 11.40116024017334,
77
+ "learning_rate": 4.735099337748345e-05,
78
+ "loss": 0.0448,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.49107142857142855,
83
+ "grad_norm": 0.7093308568000793,
84
+ "learning_rate": 4.652317880794702e-05,
85
+ "loss": 0.005,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.5357142857142857,
90
+ "grad_norm": 13.429608345031738,
91
+ "learning_rate": 4.56953642384106e-05,
92
+ "loss": 0.1927,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.5803571428571429,
97
+ "grad_norm": 18.583410263061523,
98
+ "learning_rate": 4.4867549668874174e-05,
99
+ "loss": 0.3076,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.625,
104
+ "grad_norm": 0.15568283200263977,
105
+ "learning_rate": 4.403973509933775e-05,
106
+ "loss": 0.227,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.6696428571428571,
111
+ "grad_norm": 21.115196228027344,
112
+ "learning_rate": 4.321192052980133e-05,
113
+ "loss": 0.1072,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.7142857142857143,
118
+ "grad_norm": 0.23123915493488312,
119
+ "learning_rate": 4.23841059602649e-05,
120
+ "loss": 0.2157,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.7589285714285714,
125
+ "grad_norm": 1.810465931892395,
126
+ "learning_rate": 4.155629139072848e-05,
127
+ "loss": 0.0198,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.8035714285714286,
132
+ "grad_norm": 7.193124771118164,
133
+ "learning_rate": 4.0728476821192055e-05,
134
+ "loss": 0.2872,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.8482142857142857,
139
+ "grad_norm": 0.040846243500709534,
140
+ "learning_rate": 3.990066225165563e-05,
141
+ "loss": 0.1349,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.8928571428571429,
146
+ "grad_norm": 1.4968816041946411,
147
+ "learning_rate": 3.907284768211921e-05,
148
+ "loss": 0.0838,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.9375,
153
+ "grad_norm": 0.02432333491742611,
154
+ "learning_rate": 3.824503311258278e-05,
155
+ "loss": 0.0513,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 0.9821428571428571,
160
+ "grad_norm": 11.377039909362793,
161
+ "learning_rate": 3.741721854304636e-05,
162
+ "loss": 0.6275,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 1.0,
167
+ "eval_accuracy": 0.6607142857142857,
168
+ "eval_f1_macro": 0.5764297665936106,
169
+ "eval_f1_micro": 0.6607142857142857,
170
+ "eval_f1_weighted": 0.6685474450942381,
171
+ "eval_loss": 1.5718337297439575,
172
+ "eval_precision_macro": 0.5781369792997699,
173
+ "eval_precision_micro": 0.6607142857142857,
174
+ "eval_precision_weighted": 0.6808154556545336,
175
+ "eval_recall_macro": 0.5778714544420972,
176
+ "eval_recall_micro": 0.6607142857142857,
177
+ "eval_recall_weighted": 0.6607142857142857,
178
+ "eval_runtime": 266.3448,
179
+ "eval_samples_per_second": 0.841,
180
+ "eval_steps_per_second": 0.053,
181
+ "step": 112
182
+ }
183
+ ],
184
+ "logging_steps": 5,
185
+ "max_steps": 336,
186
+ "num_input_tokens_seen": 0,
187
+ "num_train_epochs": 3,
188
+ "save_steps": 500,
189
+ "stateful_callbacks": {
190
+ "EarlyStoppingCallback": {
191
+ "args": {
192
+ "early_stopping_patience": 5,
193
+ "early_stopping_threshold": 0.01
194
+ },
195
+ "attributes": {
196
+ "early_stopping_patience_counter": 0
197
+ }
198
+ },
199
+ "TrainerControl": {
200
+ "args": {
201
+ "should_epoch_stop": false,
202
+ "should_evaluate": false,
203
+ "should_log": false,
204
+ "should_save": true,
205
+ "should_training_stop": false
206
+ },
207
+ "attributes": {}
208
+ }
209
+ },
210
+ "total_flos": 235753855647744.0,
211
+ "train_batch_size": 8,
212
+ "trial_name": null,
213
+ "trial_params": null
214
+ }
checkpoint-112/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f994341241ba90be91228ec7a602f6de5e0556ebd324acdcc374266428f117a
3
+ size 5304
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "rss9051/autotrein-BERT-iiLEX-dgs-0003",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "1 - INTIMA\u00c7\u00c3O INICIAL",
15
+ "1": "2 - INTIMA\u00c7\u00c3O INSTRU\u00c7\u00c3O",
16
+ "2": "3 - INTIMA\u00c7\u00c3O RECURSAL",
17
+ "3": "4 - INTIMA\u00c7\u00c3O CUMPRIMENTO DE SENTEN\u00c7A",
18
+ "4": "5 - INTIMA\u00c7\u00c3O TR\u00c2NSITO"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "1 - INTIMA\u00c7\u00c3O INICIAL": 0,
24
+ "2 - INTIMA\u00c7\u00c3O INSTRU\u00c7\u00c3O": 1,
25
+ "3 - INTIMA\u00c7\u00c3O RECURSAL": 2,
26
+ "4 - INTIMA\u00c7\u00c3O CUMPRIMENTO DE SENTEN\u00c7A": 3,
27
+ "5 - INTIMA\u00c7\u00c3O TR\u00c2NSITO": 4
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "output_past": true,
35
+ "pad_token_id": 0,
36
+ "pooler_fc_size": 768,
37
+ "pooler_num_attention_heads": 12,
38
+ "pooler_num_fc_layers": 3,
39
+ "pooler_size_per_head": 128,
40
+ "pooler_type": "first_token_transform",
41
+ "position_embedding_type": "absolute",
42
+ "problem_type": "single_label_classification",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.46.2",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 29794
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e862230639b434d621415800f8f78f8357102efe8d1f6c75d4f0e442b4d432ba
3
+ size 435731452
runs/Nov29_20-38-16_r-rss9051-helloword-ruz7g2f3-654e6-pbts8/events.out.tfevents.1732912699.r-rss9051-helloword-ruz7g2f3-654e6-pbts8.148.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6cfa4296eb88439e7798bb40029fb7b62be8c76f9cbb27253e29d07999ba11d3
3
- size 20590
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b7973f838b539144e48c7cc30e950cac2be763260dd93b744ba5e21fda05baa
3
+ size 22832
runs/Nov29_20-38-16_r-rss9051-helloword-ruz7g2f3-654e6-pbts8/events.out.tfevents.1732924116.r-rss9051-helloword-ruz7g2f3-654e6-pbts8.148.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1ca2e210f1ea2b2b4ed106668feb3dd99369adbc2fe748741bf9afa8b7370c2
3
+ size 921
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f994341241ba90be91228ec7a602f6de5e0556ebd324acdcc374266428f117a
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrein-BERT-iiLEX-dgs-0004/autotrain-data",
3
+ "model": "rss9051/autotrein-BERT-iiLEX-dgs-0003",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 512,
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": "autotrein-BERT-iiLEX-dgs-0004",
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": "rss9051",
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