apriandito commited on
Commit
ffb1690
1 Parent(s): 721e2ef

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: indolem/indobertweet-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.33476540446281433
17
+
18
+ f1: 0.8896551724137931
19
+
20
+ precision: 0.9280575539568345
21
+
22
+ recall: 0.8543046357615894
23
+
24
+ auc: 0.953993245910267
25
+
26
+ accuracy: 0.8940397350993378
checkpoint-151/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indolem/indobertweet-base-uncased",
3
+ "_num_labels": 2,
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
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "Relevan",
17
+ "1": "Tidak Relevan"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Relevan": 0,
23
+ "Tidak Relevan": 1
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "output_past": true,
31
+ "pad_token_id": 0,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.43.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": true,
38
+ "vocab_size": 31923
39
+ }
checkpoint-151/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ffe65a8428a74d4da8820f1aec4a460a66728acf5324e7bf295568d37bd2feb
3
+ size 442262520
checkpoint-151/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6537ce20d3df69d2545cede5b41c6900d964cc12fef45135eefd158e94eb469f
3
+ size 884646138
checkpoint-151/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bdabf79907811ca43803a189ccda666cd110908f1ff2be1119e35ee04985a3b
3
+ size 14244
checkpoint-151/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2944d6af999656d2004dba95e347fffa058ffc9ba9c54257a37065f76e3879f9
3
+ size 1064
checkpoint-151/trainer_state.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.33476540446281433,
3
+ "best_model_checkpoint": "relevancy-eksyar/checkpoint-151",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 151,
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.046357615894039736,
13
+ "grad_norm": 6.584251403808594,
14
+ "learning_rate": 2.317880794701987e-06,
15
+ "loss": 0.7096,
16
+ "step": 7
17
+ },
18
+ {
19
+ "epoch": 0.09271523178807947,
20
+ "grad_norm": 5.720220565795898,
21
+ "learning_rate": 4.635761589403974e-06,
22
+ "loss": 0.7046,
23
+ "step": 14
24
+ },
25
+ {
26
+ "epoch": 0.1390728476821192,
27
+ "grad_norm": 5.474271774291992,
28
+ "learning_rate": 6.95364238410596e-06,
29
+ "loss": 0.6714,
30
+ "step": 21
31
+ },
32
+ {
33
+ "epoch": 0.18543046357615894,
34
+ "grad_norm": 5.771448135375977,
35
+ "learning_rate": 9.271523178807948e-06,
36
+ "loss": 0.6352,
37
+ "step": 28
38
+ },
39
+ {
40
+ "epoch": 0.23178807947019867,
41
+ "grad_norm": 6.3206658363342285,
42
+ "learning_rate": 1.1589403973509934e-05,
43
+ "loss": 0.5865,
44
+ "step": 35
45
+ },
46
+ {
47
+ "epoch": 0.2781456953642384,
48
+ "grad_norm": 6.563697814941406,
49
+ "learning_rate": 1.3576158940397351e-05,
50
+ "loss": 0.6163,
51
+ "step": 42
52
+ },
53
+ {
54
+ "epoch": 0.32450331125827814,
55
+ "grad_norm": 5.018538951873779,
56
+ "learning_rate": 1.589403973509934e-05,
57
+ "loss": 0.5652,
58
+ "step": 49
59
+ },
60
+ {
61
+ "epoch": 0.3708609271523179,
62
+ "grad_norm": 6.649289608001709,
63
+ "learning_rate": 1.8211920529801323e-05,
64
+ "loss": 0.5127,
65
+ "step": 56
66
+ },
67
+ {
68
+ "epoch": 0.41721854304635764,
69
+ "grad_norm": 5.347183704376221,
70
+ "learning_rate": 2.052980132450331e-05,
71
+ "loss": 0.4503,
72
+ "step": 63
73
+ },
74
+ {
75
+ "epoch": 0.46357615894039733,
76
+ "grad_norm": 5.734078884124756,
77
+ "learning_rate": 2.2516556291390732e-05,
78
+ "loss": 0.4906,
79
+ "step": 70
80
+ },
81
+ {
82
+ "epoch": 0.5099337748344371,
83
+ "grad_norm": 7.377983093261719,
84
+ "learning_rate": 2.4834437086092715e-05,
85
+ "loss": 0.4134,
86
+ "step": 77
87
+ },
88
+ {
89
+ "epoch": 0.5562913907284768,
90
+ "grad_norm": 4.084234237670898,
91
+ "learning_rate": 2.6821192052980134e-05,
92
+ "loss": 0.358,
93
+ "step": 84
94
+ },
95
+ {
96
+ "epoch": 0.6026490066225165,
97
+ "grad_norm": 7.116121768951416,
98
+ "learning_rate": 2.913907284768212e-05,
99
+ "loss": 0.4049,
100
+ "step": 91
101
+ },
102
+ {
103
+ "epoch": 0.6490066225165563,
104
+ "grad_norm": 10.74765682220459,
105
+ "learning_rate": 3.145695364238411e-05,
106
+ "loss": 0.3495,
107
+ "step": 98
108
+ },
109
+ {
110
+ "epoch": 0.695364238410596,
111
+ "grad_norm": 13.722650527954102,
112
+ "learning_rate": 3.37748344370861e-05,
113
+ "loss": 0.4953,
114
+ "step": 105
115
+ },
116
+ {
117
+ "epoch": 0.7417218543046358,
118
+ "grad_norm": 12.211973190307617,
119
+ "learning_rate": 3.609271523178808e-05,
120
+ "loss": 0.3584,
121
+ "step": 112
122
+ },
123
+ {
124
+ "epoch": 0.7880794701986755,
125
+ "grad_norm": 15.666670799255371,
126
+ "learning_rate": 3.841059602649007e-05,
127
+ "loss": 0.303,
128
+ "step": 119
129
+ },
130
+ {
131
+ "epoch": 0.8344370860927153,
132
+ "grad_norm": 23.443561553955078,
133
+ "learning_rate": 4.0728476821192055e-05,
134
+ "loss": 0.3172,
135
+ "step": 126
136
+ },
137
+ {
138
+ "epoch": 0.8807947019867549,
139
+ "grad_norm": 39.46857452392578,
140
+ "learning_rate": 4.304635761589404e-05,
141
+ "loss": 0.3557,
142
+ "step": 133
143
+ },
144
+ {
145
+ "epoch": 0.9271523178807947,
146
+ "grad_norm": 15.615972518920898,
147
+ "learning_rate": 4.536423841059603e-05,
148
+ "loss": 0.4137,
149
+ "step": 140
150
+ },
151
+ {
152
+ "epoch": 0.9735099337748344,
153
+ "grad_norm": 24.9617977142334,
154
+ "learning_rate": 4.768211920529801e-05,
155
+ "loss": 0.365,
156
+ "step": 147
157
+ },
158
+ {
159
+ "epoch": 1.0,
160
+ "eval_accuracy": 0.8940397350993378,
161
+ "eval_auc": 0.953993245910267,
162
+ "eval_f1": 0.8896551724137931,
163
+ "eval_loss": 0.33476540446281433,
164
+ "eval_precision": 0.9280575539568345,
165
+ "eval_recall": 0.8543046357615894,
166
+ "eval_runtime": 0.6234,
167
+ "eval_samples_per_second": 484.403,
168
+ "eval_steps_per_second": 30.476,
169
+ "step": 151
170
+ }
171
+ ],
172
+ "logging_steps": 7,
173
+ "max_steps": 1510,
174
+ "num_input_tokens_seen": 0,
175
+ "num_train_epochs": 10,
176
+ "save_steps": 500,
177
+ "stateful_callbacks": {
178
+ "EarlyStoppingCallback": {
179
+ "args": {
180
+ "early_stopping_patience": 5,
181
+ "early_stopping_threshold": 0.01
182
+ },
183
+ "attributes": {
184
+ "early_stopping_patience_counter": 0
185
+ }
186
+ },
187
+ "TrainerControl": {
188
+ "args": {
189
+ "should_epoch_stop": false,
190
+ "should_evaluate": false,
191
+ "should_log": false,
192
+ "should_save": true,
193
+ "should_training_stop": false
194
+ },
195
+ "attributes": {}
196
+ }
197
+ },
198
+ "total_flos": 79459538718720.0,
199
+ "train_batch_size": 8,
200
+ "trial_name": null,
201
+ "trial_params": null
202
+ }
checkpoint-151/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce0d4a99d892ee132692e265f26666b2fd93629e3c4e1abc168fcb64801dd296
3
+ size 5240
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indolem/indobertweet-base-uncased",
3
+ "_num_labels": 2,
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
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "Relevan",
17
+ "1": "Tidak Relevan"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Relevan": 0,
23
+ "Tidak Relevan": 1
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "output_past": true,
31
+ "pad_token_id": 0,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.43.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": true,
38
+ "vocab_size": 31923
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ffe65a8428a74d4da8820f1aec4a460a66728acf5324e7bf295568d37bd2feb
3
+ size 442262520
runs/Aug07_05-36-02_r-apriandito-autotrain-gpu-82qfr8ue-0ecb1-8wesj/events.out.tfevents.1723008963.r-apriandito-autotrain-gpu-82qfr8ue-0ecb1-8wesj.82.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47a5cfae691d97094cfff95165b4fcc7e866d34b1223126f1685316e7c0eaa0b
3
- size 5156
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da7e21ababcd41088b521446af9651254aedcd452b170db1eb670e9eb04102c4
3
+ size 35771
runs/Aug07_05-36-02_r-apriandito-autotrain-gpu-82qfr8ue-0ecb1-8wesj/events.out.tfevents.1723009061.r-apriandito-autotrain-gpu-82qfr8ue-0ecb1-8wesj.82.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:289c6b4e8359fb956bf730c4e4dd4c84cdc2502ad768edba8038f1dc34830555
3
+ size 607
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:ce0d4a99d892ee132692e265f26666b2fd93629e3c4e1abc168fcb64801dd296
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "relevancy-eksyar/autotrain-data",
3
+ "model": "indolem/indobertweet-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": "relevancy-eksyar",
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