wendys-llc commited on
Commit
a0d7659
·
verified ·
1 Parent(s): 51691b5

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: 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.893719494342804
17
+
18
+ f1_macro: 0.6365079365079365
19
+
20
+ f1_micro: 0.7857142857142857
21
+
22
+ f1_weighted: 0.727437641723356
23
+
24
+ precision_macro: 0.6166666666666667
25
+
26
+ precision_micro: 0.7857142857142857
27
+
28
+ precision_weighted: 0.7047619047619048
29
+
30
+ recall_macro: 0.6875
31
+
32
+ recall_micro: 0.7857142857142857
33
+
34
+ recall_weighted: 0.7857142857142857
35
+
36
+ accuracy: 0.7857142857142857
checkpoint-21/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 4,
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": "African",
15
+ "1": "Asian",
16
+ "2": "Latin American",
17
+ "3": "Middle Eastern"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "African": 0,
23
+ "Asian": 1,
24
+ "Latin American": 2,
25
+ "Middle Eastern": 3
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.0",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 30522
40
+ }
checkpoint-21/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349819b45e999562b653ccf22facc7485f3deaca1a7a29e8737414eb82815bf5
3
+ size 437964800
checkpoint-21/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ba8246abc50dcf64524d9a5b7bb4fe54f19708ef7e34fc71810d21d80afba36
3
+ size 876045050
checkpoint-21/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:440735e4ca4dbfe96baaf573c3bfc29385388fc2df2057e9217ceddb0b7188f5
3
+ size 13990
checkpoint-21/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:920472e7d43331d49f9a5d188a9619ca9d755bde39f75d40a2be1bb62c452a5b
3
+ size 1064
checkpoint-21/trainer_state.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.893719494342804,
3
+ "best_model_checkpoint": "autotrain-jr45n-23iwd/checkpoint-21",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 21,
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.14285714285714285,
13
+ "grad_norm": 13.014251708984375,
14
+ "learning_rate": 1.6666666666666667e-05,
15
+ "loss": 1.574,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.2857142857142857,
20
+ "grad_norm": 6.878973007202148,
21
+ "learning_rate": 3.3333333333333335e-05,
22
+ "loss": 1.436,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.42857142857142855,
27
+ "grad_norm": 8.282319068908691,
28
+ "learning_rate": 5e-05,
29
+ "loss": 1.5673,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.5714285714285714,
34
+ "grad_norm": 9.62940502166748,
35
+ "learning_rate": 4.722222222222222e-05,
36
+ "loss": 1.2444,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.7142857142857143,
41
+ "grad_norm": 11.141054153442383,
42
+ "learning_rate": 4.4444444444444447e-05,
43
+ "loss": 1.665,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.8571428571428571,
48
+ "grad_norm": 10.266294479370117,
49
+ "learning_rate": 4.166666666666667e-05,
50
+ "loss": 1.3428,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 1.0,
55
+ "grad_norm": 18.852968215942383,
56
+ "learning_rate": 3.888888888888889e-05,
57
+ "loss": 1.4157,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "eval_accuracy": 0.7857142857142857,
63
+ "eval_f1_macro": 0.6375,
64
+ "eval_f1_micro": 0.7857142857142857,
65
+ "eval_f1_weighted": 0.7285714285714285,
66
+ "eval_loss": 1.2462433576583862,
67
+ "eval_precision_macro": 0.6041666666666666,
68
+ "eval_precision_micro": 0.7857142857142857,
69
+ "eval_precision_weighted": 0.6904761904761905,
70
+ "eval_recall_macro": 0.6875,
71
+ "eval_recall_micro": 0.7857142857142857,
72
+ "eval_recall_weighted": 0.7857142857142857,
73
+ "eval_runtime": 2.3828,
74
+ "eval_samples_per_second": 5.875,
75
+ "eval_steps_per_second": 0.42,
76
+ "step": 7
77
+ },
78
+ {
79
+ "epoch": 1.1428571428571428,
80
+ "grad_norm": 9.181815147399902,
81
+ "learning_rate": 3.611111111111111e-05,
82
+ "loss": 1.3051,
83
+ "step": 8
84
+ },
85
+ {
86
+ "epoch": 1.2857142857142856,
87
+ "grad_norm": 7.824043273925781,
88
+ "learning_rate": 3.3333333333333335e-05,
89
+ "loss": 1.2258,
90
+ "step": 9
91
+ },
92
+ {
93
+ "epoch": 1.4285714285714286,
94
+ "grad_norm": 7.767913341522217,
95
+ "learning_rate": 3.055555555555556e-05,
96
+ "loss": 1.3915,
97
+ "step": 10
98
+ },
99
+ {
100
+ "epoch": 1.5714285714285714,
101
+ "grad_norm": 10.508928298950195,
102
+ "learning_rate": 2.777777777777778e-05,
103
+ "loss": 1.1089,
104
+ "step": 11
105
+ },
106
+ {
107
+ "epoch": 1.7142857142857144,
108
+ "grad_norm": 15.723339080810547,
109
+ "learning_rate": 2.5e-05,
110
+ "loss": 1.1304,
111
+ "step": 12
112
+ },
113
+ {
114
+ "epoch": 1.8571428571428572,
115
+ "grad_norm": 9.557744979858398,
116
+ "learning_rate": 2.2222222222222223e-05,
117
+ "loss": 1.1083,
118
+ "step": 13
119
+ },
120
+ {
121
+ "epoch": 2.0,
122
+ "grad_norm": 20.124605178833008,
123
+ "learning_rate": 1.9444444444444445e-05,
124
+ "loss": 1.2587,
125
+ "step": 14
126
+ },
127
+ {
128
+ "epoch": 2.0,
129
+ "eval_accuracy": 0.6428571428571429,
130
+ "eval_f1_macro": 0.5038461538461538,
131
+ "eval_f1_micro": 0.6428571428571429,
132
+ "eval_f1_weighted": 0.5758241758241758,
133
+ "eval_loss": 1.00484299659729,
134
+ "eval_precision_macro": 0.6111111111111112,
135
+ "eval_precision_micro": 0.6428571428571429,
136
+ "eval_precision_weighted": 0.6984126984126985,
137
+ "eval_recall_macro": 0.5625,
138
+ "eval_recall_micro": 0.6428571428571429,
139
+ "eval_recall_weighted": 0.6428571428571429,
140
+ "eval_runtime": 2.4717,
141
+ "eval_samples_per_second": 5.664,
142
+ "eval_steps_per_second": 0.405,
143
+ "step": 14
144
+ },
145
+ {
146
+ "epoch": 2.142857142857143,
147
+ "grad_norm": 12.81100845336914,
148
+ "learning_rate": 1.6666666666666667e-05,
149
+ "loss": 1.2278,
150
+ "step": 15
151
+ },
152
+ {
153
+ "epoch": 2.2857142857142856,
154
+ "grad_norm": 9.036030769348145,
155
+ "learning_rate": 1.388888888888889e-05,
156
+ "loss": 0.9014,
157
+ "step": 16
158
+ },
159
+ {
160
+ "epoch": 2.4285714285714284,
161
+ "grad_norm": 11.079411506652832,
162
+ "learning_rate": 1.1111111111111112e-05,
163
+ "loss": 0.8781,
164
+ "step": 17
165
+ },
166
+ {
167
+ "epoch": 2.571428571428571,
168
+ "grad_norm": 8.225976943969727,
169
+ "learning_rate": 8.333333333333334e-06,
170
+ "loss": 0.8964,
171
+ "step": 18
172
+ },
173
+ {
174
+ "epoch": 2.7142857142857144,
175
+ "grad_norm": 11.431103706359863,
176
+ "learning_rate": 5.555555555555556e-06,
177
+ "loss": 0.9341,
178
+ "step": 19
179
+ },
180
+ {
181
+ "epoch": 2.857142857142857,
182
+ "grad_norm": 6.8565449714660645,
183
+ "learning_rate": 2.777777777777778e-06,
184
+ "loss": 0.9554,
185
+ "step": 20
186
+ },
187
+ {
188
+ "epoch": 3.0,
189
+ "grad_norm": 10.979363441467285,
190
+ "learning_rate": 0.0,
191
+ "loss": 1.0157,
192
+ "step": 21
193
+ },
194
+ {
195
+ "epoch": 3.0,
196
+ "eval_accuracy": 0.7857142857142857,
197
+ "eval_f1_macro": 0.6365079365079365,
198
+ "eval_f1_micro": 0.7857142857142857,
199
+ "eval_f1_weighted": 0.727437641723356,
200
+ "eval_loss": 0.893719494342804,
201
+ "eval_precision_macro": 0.6166666666666667,
202
+ "eval_precision_micro": 0.7857142857142857,
203
+ "eval_precision_weighted": 0.7047619047619048,
204
+ "eval_recall_macro": 0.6875,
205
+ "eval_recall_micro": 0.7857142857142857,
206
+ "eval_recall_weighted": 0.7857142857142857,
207
+ "eval_runtime": 2.4283,
208
+ "eval_samples_per_second": 5.765,
209
+ "eval_steps_per_second": 0.412,
210
+ "step": 21
211
+ }
212
+ ],
213
+ "logging_steps": 1,
214
+ "max_steps": 21,
215
+ "num_input_tokens_seen": 0,
216
+ "num_train_epochs": 3,
217
+ "save_steps": 500,
218
+ "stateful_callbacks": {
219
+ "EarlyStoppingCallback": {
220
+ "args": {
221
+ "early_stopping_patience": 5,
222
+ "early_stopping_threshold": 0.01
223
+ },
224
+ "attributes": {
225
+ "early_stopping_patience_counter": 0
226
+ }
227
+ },
228
+ "TrainerControl": {
229
+ "args": {
230
+ "should_epoch_stop": false,
231
+ "should_evaluate": false,
232
+ "should_log": false,
233
+ "should_save": true,
234
+ "should_training_stop": true
235
+ },
236
+ "attributes": {}
237
+ }
238
+ },
239
+ "total_flos": 11050862764032.0,
240
+ "train_batch_size": 8,
241
+ "trial_name": null,
242
+ "trial_params": null
243
+ }
checkpoint-21/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5940e7fa266adc09465ee1fe02eed1c11d75ea4842c68e67d5b94665bd7d2990
3
+ size 5240
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 4,
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": "African",
15
+ "1": "Asian",
16
+ "2": "Latin American",
17
+ "3": "Middle Eastern"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "African": 0,
23
+ "Asian": 1,
24
+ "Latin American": 2,
25
+ "Middle Eastern": 3
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.0",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 30522
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349819b45e999562b653ccf22facc7485f3deaca1a7a29e8737414eb82815bf5
3
+ size 437964800
runs/Nov04_18-11-30_r-wendys-llc-autotrain-advanced-j37uaf0f-1a7a2-9lyn1/events.out.tfevents.1730743890.r-wendys-llc-autotrain-advanced-j37uaf0f-1a7a2-9lyn1.126.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8cf1d07150caa08c6f1fea2c28b0ab3d27a6fa257cef1626eb14cb2f24a1e3e
3
- size 5223
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e50dea9a11790ce660b577b6b6e96e4e00e363d5b86d549156071c070236da82
3
+ size 12372
runs/Nov04_18-11-30_r-wendys-llc-autotrain-advanced-j37uaf0f-1a7a2-9lyn1/events.out.tfevents.1730744012.r-wendys-llc-autotrain-advanced-j37uaf0f-1a7a2-9lyn1.126.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3e15a1b1585f36abc4e9f1034c6c2eb652bd41e9a1424dfd335b6bc374547c9
3
+ size 906
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:5940e7fa266adc09465ee1fe02eed1c11d75ea4842c68e67d5b94665bd7d2990
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-jr45n-23iwd/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-jr45n-23iwd",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "none",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "wendys-llc",
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