apriandito commited on
Commit
e043685
·
verified ·
1 Parent(s): 43f4910

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: indolem/indobert-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.3493249714374542
17
+
18
+ f1_macro: 0.8587115151389507
19
+
20
+ f1_micro: 0.8591370558375635
21
+
22
+ f1_weighted: 0.8587215186743026
23
+
24
+ precision_macro: 0.8605661249338893
25
+
26
+ precision_micro: 0.8591370558375635
27
+
28
+ precision_weighted: 0.8606149854262679
29
+
30
+ recall_macro: 0.8591656266024246
31
+
32
+ recall_micro: 0.8591370558375635
33
+
34
+ recall_weighted: 0.8591370558375635
35
+
36
+ accuracy: 0.8591370558375635
checkpoint-394/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indolem/indobert-base-uncased",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_ids": 0,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "Berita",
16
+ "1": "Opini dan Pengalaman Personal",
17
+ "2": "Promosi"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Berita": 0,
23
+ "Opini dan Pengalaman Personal": 1,
24
+ "Promosi": 2
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "output_past": true,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.43.1",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 31923
40
+ }
checkpoint-394/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a6c0830a54172450f9f9e9534076bf5a936c5a68b3bfcd425f33ec7909238ae
3
+ size 442265596
checkpoint-394/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb13fb0802459e51a0c992000338279423e08162471dcd81cc3f330748c127b0
3
+ size 884652282
checkpoint-394/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e84ec423a3ea03cb7ac7ca9d920ef6038ceaf7b3ade810a0106938313e103b9
3
+ size 14244
checkpoint-394/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d489803ba56786a581a133be94c0e9909c530e2319c1f01c3b396e3f14545907
3
+ size 1064
checkpoint-394/trainer_state.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3493249714374542,
3
+ "best_model_checkpoint": "tipe-post-large/checkpoint-394",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 394,
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.048223350253807105,
13
+ "grad_norm": 17.885705947875977,
14
+ "learning_rate": 2.030456852791878e-06,
15
+ "loss": 1.1418,
16
+ "step": 19
17
+ },
18
+ {
19
+ "epoch": 0.09644670050761421,
20
+ "grad_norm": 44.05237579345703,
21
+ "learning_rate": 4.3147208121827415e-06,
22
+ "loss": 1.1119,
23
+ "step": 38
24
+ },
25
+ {
26
+ "epoch": 0.1446700507614213,
27
+ "grad_norm": 15.786450386047363,
28
+ "learning_rate": 6.5989847715736045e-06,
29
+ "loss": 1.059,
30
+ "step": 57
31
+ },
32
+ {
33
+ "epoch": 0.19289340101522842,
34
+ "grad_norm": 19.81418800354004,
35
+ "learning_rate": 9.01015228426396e-06,
36
+ "loss": 1.0057,
37
+ "step": 76
38
+ },
39
+ {
40
+ "epoch": 0.24111675126903553,
41
+ "grad_norm": 13.34815788269043,
42
+ "learning_rate": 1.1421319796954315e-05,
43
+ "loss": 0.9764,
44
+ "step": 95
45
+ },
46
+ {
47
+ "epoch": 0.2893401015228426,
48
+ "grad_norm": 18.754287719726562,
49
+ "learning_rate": 1.383248730964467e-05,
50
+ "loss": 0.8689,
51
+ "step": 114
52
+ },
53
+ {
54
+ "epoch": 0.33756345177664976,
55
+ "grad_norm": 11.29464340209961,
56
+ "learning_rate": 1.6116751269035534e-05,
57
+ "loss": 0.768,
58
+ "step": 133
59
+ },
60
+ {
61
+ "epoch": 0.38578680203045684,
62
+ "grad_norm": 16.376611709594727,
63
+ "learning_rate": 1.852791878172589e-05,
64
+ "loss": 0.7522,
65
+ "step": 152
66
+ },
67
+ {
68
+ "epoch": 0.434010152284264,
69
+ "grad_norm": 21.840133666992188,
70
+ "learning_rate": 2.0939086294416244e-05,
71
+ "loss": 0.6612,
72
+ "step": 171
73
+ },
74
+ {
75
+ "epoch": 0.48223350253807107,
76
+ "grad_norm": 7.279740810394287,
77
+ "learning_rate": 2.33502538071066e-05,
78
+ "loss": 0.6085,
79
+ "step": 190
80
+ },
81
+ {
82
+ "epoch": 0.5304568527918782,
83
+ "grad_norm": 15.788802146911621,
84
+ "learning_rate": 2.576142131979696e-05,
85
+ "loss": 0.5258,
86
+ "step": 209
87
+ },
88
+ {
89
+ "epoch": 0.5786802030456852,
90
+ "grad_norm": 5.172878265380859,
91
+ "learning_rate": 2.8172588832487314e-05,
92
+ "loss": 0.4291,
93
+ "step": 228
94
+ },
95
+ {
96
+ "epoch": 0.6269035532994924,
97
+ "grad_norm": 17.176700592041016,
98
+ "learning_rate": 3.0583756345177666e-05,
99
+ "loss": 0.5837,
100
+ "step": 247
101
+ },
102
+ {
103
+ "epoch": 0.6751269035532995,
104
+ "grad_norm": 12.70265007019043,
105
+ "learning_rate": 3.299492385786802e-05,
106
+ "loss": 0.4782,
107
+ "step": 266
108
+ },
109
+ {
110
+ "epoch": 0.7233502538071066,
111
+ "grad_norm": 12.328149795532227,
112
+ "learning_rate": 3.5406091370558376e-05,
113
+ "loss": 0.4318,
114
+ "step": 285
115
+ },
116
+ {
117
+ "epoch": 0.7715736040609137,
118
+ "grad_norm": 19.274818420410156,
119
+ "learning_rate": 3.7817258883248735e-05,
120
+ "loss": 0.3962,
121
+ "step": 304
122
+ },
123
+ {
124
+ "epoch": 0.8197969543147208,
125
+ "grad_norm": 11.7370023727417,
126
+ "learning_rate": 4.022842639593909e-05,
127
+ "loss": 0.2841,
128
+ "step": 323
129
+ },
130
+ {
131
+ "epoch": 0.868020304568528,
132
+ "grad_norm": 30.251712799072266,
133
+ "learning_rate": 4.2639593908629446e-05,
134
+ "loss": 0.4631,
135
+ "step": 342
136
+ },
137
+ {
138
+ "epoch": 0.916243654822335,
139
+ "grad_norm": 18.127199172973633,
140
+ "learning_rate": 4.50507614213198e-05,
141
+ "loss": 0.4132,
142
+ "step": 361
143
+ },
144
+ {
145
+ "epoch": 0.9644670050761421,
146
+ "grad_norm": 8.72325611114502,
147
+ "learning_rate": 4.746192893401015e-05,
148
+ "loss": 0.5278,
149
+ "step": 380
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.8591370558375635,
154
+ "eval_f1_macro": 0.8587115151389507,
155
+ "eval_f1_micro": 0.8591370558375635,
156
+ "eval_f1_weighted": 0.8587215186743026,
157
+ "eval_loss": 0.3493249714374542,
158
+ "eval_precision_macro": 0.8605661249338893,
159
+ "eval_precision_micro": 0.8591370558375635,
160
+ "eval_precision_weighted": 0.8606149854262679,
161
+ "eval_recall_macro": 0.8591656266024246,
162
+ "eval_recall_micro": 0.8591370558375635,
163
+ "eval_recall_weighted": 0.8591370558375635,
164
+ "eval_runtime": 1.5838,
165
+ "eval_samples_per_second": 497.539,
166
+ "eval_steps_per_second": 31.57,
167
+ "step": 394
168
+ }
169
+ ],
170
+ "logging_steps": 19,
171
+ "max_steps": 3940,
172
+ "num_input_tokens_seen": 0,
173
+ "num_train_epochs": 10,
174
+ "save_steps": 500,
175
+ "stateful_callbacks": {
176
+ "EarlyStoppingCallback": {
177
+ "args": {
178
+ "early_stopping_patience": 5,
179
+ "early_stopping_threshold": 0.01
180
+ },
181
+ "attributes": {
182
+ "early_stopping_patience_counter": 0
183
+ }
184
+ },
185
+ "TrainerControl": {
186
+ "args": {
187
+ "should_epoch_stop": false,
188
+ "should_evaluate": false,
189
+ "should_log": false,
190
+ "should_save": true,
191
+ "should_training_stop": false
192
+ },
193
+ "attributes": {}
194
+ }
195
+ },
196
+ "total_flos": 207070259751936.0,
197
+ "train_batch_size": 8,
198
+ "trial_name": null,
199
+ "trial_params": null
200
+ }
checkpoint-394/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b604632329d9f8d7747fbd2a1799380542775b664ee73ed985b7550bab653d59
3
+ size 5240
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indolem/indobert-base-uncased",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_ids": 0,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "Berita",
16
+ "1": "Opini dan Pengalaman Personal",
17
+ "2": "Promosi"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Berita": 0,
23
+ "Opini dan Pengalaman Personal": 1,
24
+ "Promosi": 2
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "output_past": true,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.43.1",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 31923
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a6c0830a54172450f9f9e9534076bf5a936c5a68b3bfcd425f33ec7909238ae
3
+ size 442265596
runs/Aug04_23-18-13_r-apriandito-autotrain-gpu-kao3kt4z-77feb-iwy6l/events.out.tfevents.1722813494.r-apriandito-autotrain-gpu-kao3kt4z-77feb-iwy6l.84.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f6602ef5cf431e13aab8fc204fbbe343d3dff677332b8516b4b70ea96c014e3
3
- size 5183
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99eb260b2990aa2dd9ca2b711be7449b606acdf6df2b0fe174a13a2a2202fd8b
3
+ size 36675
runs/Aug04_23-18-13_r-apriandito-autotrain-gpu-kao3kt4z-77feb-iwy6l/events.out.tfevents.1722813731.r-apriandito-autotrain-gpu-kao3kt4z-77feb-iwy6l.84.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2efdd14592d6b04a8252c58740b8dee5c5d1d192d204520c90add65749979178
3
+ size 921
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[MASK]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[SEP]",
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": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b604632329d9f8d7747fbd2a1799380542775b664ee73ed985b7550bab653d59
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "tipe-post-large/autotrain-data",
3
+ "model": "indolem/indobert-base-uncased",
4
+ "lr": 5e-05,
5
+ "epochs": 10,
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": "tipe-post-large",
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": "apriandito",
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