Upload folder using huggingface_hub
Browse files- README.md +26 -0
- checkpoint-173/config.json +39 -0
- checkpoint-173/model.safetensors +3 -0
- checkpoint-173/optimizer.pt +3 -0
- checkpoint-173/rng_state.pth +3 -0
- checkpoint-173/scheduler.pt +3 -0
- checkpoint-173/trainer_state.json +202 -0
- checkpoint-173/training_args.bin +3 -0
- config.json +39 -0
- model.safetensors +3 -0
- runs/Oct01_23-00-17_r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78/events.out.tfevents.1727823618.r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78.93.0 +2 -2
- runs/Oct01_23-00-17_r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78/events.out.tfevents.1727823681.r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78.93.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- training_params.json +30 -0
- vocab.txt +0 -0
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.4121915400028229
|
| 17 |
+
|
| 18 |
+
f1: 0.8455284552845529
|
| 19 |
+
|
| 20 |
+
precision: 0.7959183673469388
|
| 21 |
+
|
| 22 |
+
recall: 0.9017341040462428
|
| 23 |
+
|
| 24 |
+
auc: 0.8867152260349493
|
| 25 |
+
|
| 26 |
+
accuracy: 0.8352601156069365
|
checkpoint-173/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": "False",
|
| 17 |
+
"1": "True"
|
| 18 |
+
},
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"False": 0,
|
| 23 |
+
"True": 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.45.0",
|
| 36 |
+
"type_vocab_size": 2,
|
| 37 |
+
"use_cache": true,
|
| 38 |
+
"vocab_size": 31923
|
| 39 |
+
}
|
checkpoint-173/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38e6cff6590e069f103cd9a0a439d33ae88606cebe40880359065fcbb045b3e0
|
| 3 |
+
size 442262520
|
checkpoint-173/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8b41bc89b6648108ee881ff9e8b334d369491ef73b90478a8ed938eb376e73e
|
| 3 |
+
size 884646138
|
checkpoint-173/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dbcc3990264c908fcbb2cce82aedb59a44cbdd98349804481a4cd841eada57f
|
| 3 |
+
size 14244
|
checkpoint-173/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76770de82b2c153f9beed9c4efc4d5e28b2e742624861139f71bf8a21e348f19
|
| 3 |
+
size 1064
|
checkpoint-173/trainer_state.json
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.4121915400028229,
|
| 3 |
+
"best_model_checkpoint": "vulnerability2/checkpoint-173",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 173,
|
| 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.046242774566473986,
|
| 13 |
+
"grad_norm": 5.892217636108398,
|
| 14 |
+
"learning_rate": 7.692307692307694e-06,
|
| 15 |
+
"loss": 0.6938,
|
| 16 |
+
"step": 8
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.09248554913294797,
|
| 20 |
+
"grad_norm": 5.215716361999512,
|
| 21 |
+
"learning_rate": 1.5384615384615387e-05,
|
| 22 |
+
"loss": 0.7057,
|
| 23 |
+
"step": 16
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.13872832369942195,
|
| 27 |
+
"grad_norm": 5.926873207092285,
|
| 28 |
+
"learning_rate": 2.2115384615384616e-05,
|
| 29 |
+
"loss": 0.7169,
|
| 30 |
+
"step": 24
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.18497109826589594,
|
| 34 |
+
"grad_norm": 4.844853401184082,
|
| 35 |
+
"learning_rate": 2.9807692307692308e-05,
|
| 36 |
+
"loss": 0.702,
|
| 37 |
+
"step": 32
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.23121387283236994,
|
| 41 |
+
"grad_norm": 5.379873752593994,
|
| 42 |
+
"learning_rate": 3.7500000000000003e-05,
|
| 43 |
+
"loss": 0.6516,
|
| 44 |
+
"step": 40
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.2774566473988439,
|
| 48 |
+
"grad_norm": 4.417751789093018,
|
| 49 |
+
"learning_rate": 4.519230769230769e-05,
|
| 50 |
+
"loss": 0.5804,
|
| 51 |
+
"step": 48
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.3236994219653179,
|
| 55 |
+
"grad_norm": 4.966400146484375,
|
| 56 |
+
"learning_rate": 4.967880085653105e-05,
|
| 57 |
+
"loss": 0.5749,
|
| 58 |
+
"step": 56
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.3699421965317919,
|
| 62 |
+
"grad_norm": 14.13377571105957,
|
| 63 |
+
"learning_rate": 4.8822269807280516e-05,
|
| 64 |
+
"loss": 0.6181,
|
| 65 |
+
"step": 64
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.4161849710982659,
|
| 69 |
+
"grad_norm": 10.505352973937988,
|
| 70 |
+
"learning_rate": 4.796573875802998e-05,
|
| 71 |
+
"loss": 0.5791,
|
| 72 |
+
"step": 72
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 0.4624277456647399,
|
| 76 |
+
"grad_norm": 9.63059139251709,
|
| 77 |
+
"learning_rate": 4.710920770877945e-05,
|
| 78 |
+
"loss": 0.4889,
|
| 79 |
+
"step": 80
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 0.5086705202312138,
|
| 83 |
+
"grad_norm": NaN,
|
| 84 |
+
"learning_rate": 4.635974304068523e-05,
|
| 85 |
+
"loss": 0.694,
|
| 86 |
+
"step": 88
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 0.5549132947976878,
|
| 90 |
+
"grad_norm": 8.667622566223145,
|
| 91 |
+
"learning_rate": 4.550321199143469e-05,
|
| 92 |
+
"loss": 0.5709,
|
| 93 |
+
"step": 96
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 0.6011560693641619,
|
| 97 |
+
"grad_norm": 21.856563568115234,
|
| 98 |
+
"learning_rate": 4.4646680942184155e-05,
|
| 99 |
+
"loss": 0.517,
|
| 100 |
+
"step": 104
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.6473988439306358,
|
| 104 |
+
"grad_norm": 6.534577369689941,
|
| 105 |
+
"learning_rate": 4.3790149892933615e-05,
|
| 106 |
+
"loss": 0.3953,
|
| 107 |
+
"step": 112
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 0.6936416184971098,
|
| 111 |
+
"grad_norm": 11.586472511291504,
|
| 112 |
+
"learning_rate": 4.3147751605995715e-05,
|
| 113 |
+
"loss": 0.4509,
|
| 114 |
+
"step": 120
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 0.7398843930635838,
|
| 118 |
+
"grad_norm": 8.03020191192627,
|
| 119 |
+
"learning_rate": 4.23982869379015e-05,
|
| 120 |
+
"loss": 0.4137,
|
| 121 |
+
"step": 128
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 0.7861271676300579,
|
| 125 |
+
"grad_norm": 8.56822681427002,
|
| 126 |
+
"learning_rate": 4.164882226980728e-05,
|
| 127 |
+
"loss": 0.3882,
|
| 128 |
+
"step": 136
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 0.8323699421965318,
|
| 132 |
+
"grad_norm": 16.258493423461914,
|
| 133 |
+
"learning_rate": 4.079229122055675e-05,
|
| 134 |
+
"loss": 0.3805,
|
| 135 |
+
"step": 144
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 0.8786127167630058,
|
| 139 |
+
"grad_norm": 20.331809997558594,
|
| 140 |
+
"learning_rate": 3.9935760171306215e-05,
|
| 141 |
+
"loss": 0.4798,
|
| 142 |
+
"step": 152
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"epoch": 0.9248554913294798,
|
| 146 |
+
"grad_norm": 8.971641540527344,
|
| 147 |
+
"learning_rate": 3.9079229122055675e-05,
|
| 148 |
+
"loss": 0.6478,
|
| 149 |
+
"step": 160
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"epoch": 0.9710982658959537,
|
| 153 |
+
"grad_norm": 7.747719764709473,
|
| 154 |
+
"learning_rate": 3.822269807280514e-05,
|
| 155 |
+
"loss": 0.5041,
|
| 156 |
+
"step": 168
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"epoch": 1.0,
|
| 160 |
+
"eval_accuracy": 0.8352601156069365,
|
| 161 |
+
"eval_auc": 0.8867152260349493,
|
| 162 |
+
"eval_f1": 0.8455284552845529,
|
| 163 |
+
"eval_loss": 0.4121915400028229,
|
| 164 |
+
"eval_precision": 0.7959183673469388,
|
| 165 |
+
"eval_recall": 0.9017341040462428,
|
| 166 |
+
"eval_runtime": 0.6887,
|
| 167 |
+
"eval_samples_per_second": 502.365,
|
| 168 |
+
"eval_steps_per_second": 31.942,
|
| 169 |
+
"step": 173
|
| 170 |
+
}
|
| 171 |
+
],
|
| 172 |
+
"logging_steps": 8,
|
| 173 |
+
"max_steps": 519,
|
| 174 |
+
"num_input_tokens_seen": 0,
|
| 175 |
+
"num_train_epochs": 3,
|
| 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": 90904869626880.0,
|
| 199 |
+
"train_batch_size": 8,
|
| 200 |
+
"trial_name": null,
|
| 201 |
+
"trial_params": null
|
| 202 |
+
}
|
checkpoint-173/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1488c8f141d435304a21d0a3b7b854bf91a82c22ab8512dca02a31487700dbe
|
| 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": "False",
|
| 17 |
+
"1": "True"
|
| 18 |
+
},
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"False": 0,
|
| 23 |
+
"True": 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.45.0",
|
| 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:38e6cff6590e069f103cd9a0a439d33ae88606cebe40880359065fcbb045b3e0
|
| 3 |
+
size 442262520
|
runs/Oct01_23-00-17_r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78/events.out.tfevents.1727823618.r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78.93.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b90a68711281a5b6e463788e2b6eec4e97e2e68c74f74583f1d36329f6eb3fb
|
| 3 |
+
size 20511
|
runs/Oct01_23-00-17_r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78/events.out.tfevents.1727823681.r-apriandito-autotrain-gpu-qs55oj4w-144a0-h0v78.93.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7156deaea3cb5406acf22b31cb4fdf9cbcd99105ceed4e892814a0832bd19fb1
|
| 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:d1488c8f141d435304a21d0a3b7b854bf91a82c22ab8512dca02a31487700dbe
|
| 3 |
+
size 5240
|
training_params.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"data_path": "vulnerability2/autotrain-data",
|
| 3 |
+
"model": "indolem/indobertweet-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": "vulnerability2",
|
| 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
|
|
|