Add clause model
Browse files- classfication_model/config.json +68 -0
- classfication_model/merges.txt +0 -0
- classfication_model/pytorch_model.bin +3 -0
- classfication_model/special_tokens_map.json +15 -0
- classfication_model/tokenizer.json +0 -0
- classfication_model/tokenizer_config.json +16 -0
- classfication_model/trainer_state.json +238 -0
- classfication_model/training_args.bin +3 -0
- classfication_model/vocab.json +0 -0
classfication_model/config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "roberta-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"RobertaForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.1,
|
| 12 |
+
"hidden_size": 768,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "LABEL_0",
|
| 15 |
+
"1": "LABEL_1",
|
| 16 |
+
"2": "LABEL_2",
|
| 17 |
+
"3": "LABEL_3",
|
| 18 |
+
"4": "LABEL_4",
|
| 19 |
+
"5": "LABEL_5",
|
| 20 |
+
"6": "LABEL_6",
|
| 21 |
+
"7": "LABEL_7",
|
| 22 |
+
"8": "LABEL_8",
|
| 23 |
+
"9": "LABEL_9",
|
| 24 |
+
"10": "LABEL_10",
|
| 25 |
+
"11": "LABEL_11",
|
| 26 |
+
"12": "LABEL_12",
|
| 27 |
+
"13": "LABEL_13",
|
| 28 |
+
"14": "LABEL_14",
|
| 29 |
+
"15": "LABEL_15",
|
| 30 |
+
"16": "LABEL_16",
|
| 31 |
+
"17": "LABEL_17"
|
| 32 |
+
},
|
| 33 |
+
"initializer_range": 0.02,
|
| 34 |
+
"intermediate_size": 3072,
|
| 35 |
+
"label2id": {
|
| 36 |
+
"LABEL_0": 0,
|
| 37 |
+
"LABEL_1": 1,
|
| 38 |
+
"LABEL_10": 10,
|
| 39 |
+
"LABEL_11": 11,
|
| 40 |
+
"LABEL_12": 12,
|
| 41 |
+
"LABEL_13": 13,
|
| 42 |
+
"LABEL_14": 14,
|
| 43 |
+
"LABEL_15": 15,
|
| 44 |
+
"LABEL_16": 16,
|
| 45 |
+
"LABEL_17": 17,
|
| 46 |
+
"LABEL_2": 2,
|
| 47 |
+
"LABEL_3": 3,
|
| 48 |
+
"LABEL_4": 4,
|
| 49 |
+
"LABEL_5": 5,
|
| 50 |
+
"LABEL_6": 6,
|
| 51 |
+
"LABEL_7": 7,
|
| 52 |
+
"LABEL_8": 8,
|
| 53 |
+
"LABEL_9": 9
|
| 54 |
+
},
|
| 55 |
+
"layer_norm_eps": 1e-05,
|
| 56 |
+
"max_position_embeddings": 514,
|
| 57 |
+
"model_type": "roberta",
|
| 58 |
+
"num_attention_heads": 12,
|
| 59 |
+
"num_hidden_layers": 12,
|
| 60 |
+
"pad_token_id": 1,
|
| 61 |
+
"position_embedding_type": "absolute",
|
| 62 |
+
"problem_type": "single_label_classification",
|
| 63 |
+
"torch_dtype": "float32",
|
| 64 |
+
"transformers_version": "4.24.0",
|
| 65 |
+
"type_vocab_size": 1,
|
| 66 |
+
"use_cache": true,
|
| 67 |
+
"vocab_size": 50265
|
| 68 |
+
}
|
classfication_model/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
classfication_model/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0264121801784420a0c3a505f66e36b94b32c1f13b2952e6f921e818b57153ff
|
| 3 |
+
size 498711285
|
classfication_model/special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
classfication_model/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
classfication_model/tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"cls_token": "<s>",
|
| 5 |
+
"eos_token": "</s>",
|
| 6 |
+
"errors": "replace",
|
| 7 |
+
"mask_token": "<mask>",
|
| 8 |
+
"model_max_length": 512,
|
| 9 |
+
"name_or_path": "roberta-base",
|
| 10 |
+
"pad_token": "<pad>",
|
| 11 |
+
"sep_token": "</s>",
|
| 12 |
+
"special_tokens_map_file": null,
|
| 13 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 14 |
+
"trim_offsets": true,
|
| 15 |
+
"unk_token": "<unk>"
|
| 16 |
+
}
|
classfication_model/trainer_state.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 3.0,
|
| 5 |
+
"global_step": 3729,
|
| 6 |
+
"is_hyper_param_search": false,
|
| 7 |
+
"is_local_process_zero": true,
|
| 8 |
+
"is_world_process_zero": true,
|
| 9 |
+
"log_history": [
|
| 10 |
+
{
|
| 11 |
+
"epoch": 0.08,
|
| 12 |
+
"learning_rate": 9.919549477071602e-06,
|
| 13 |
+
"loss": 2.5542,
|
| 14 |
+
"step": 100
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"epoch": 0.16,
|
| 18 |
+
"learning_rate": 9.839098954143203e-06,
|
| 19 |
+
"loss": 2.0524,
|
| 20 |
+
"step": 200
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"epoch": 0.24,
|
| 24 |
+
"learning_rate": 9.758648431214803e-06,
|
| 25 |
+
"loss": 1.7355,
|
| 26 |
+
"step": 300
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"epoch": 0.32,
|
| 30 |
+
"learning_rate": 9.678197908286404e-06,
|
| 31 |
+
"loss": 1.5379,
|
| 32 |
+
"step": 400
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"epoch": 0.4,
|
| 36 |
+
"learning_rate": 9.597747385358007e-06,
|
| 37 |
+
"loss": 1.4171,
|
| 38 |
+
"step": 500
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.48,
|
| 42 |
+
"learning_rate": 9.517296862429608e-06,
|
| 43 |
+
"loss": 1.3007,
|
| 44 |
+
"step": 600
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.56,
|
| 48 |
+
"learning_rate": 9.436846339501209e-06,
|
| 49 |
+
"loss": 1.2555,
|
| 50 |
+
"step": 700
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.64,
|
| 54 |
+
"learning_rate": 9.35639581657281e-06,
|
| 55 |
+
"loss": 1.1933,
|
| 56 |
+
"step": 800
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"epoch": 0.72,
|
| 60 |
+
"learning_rate": 9.27594529364441e-06,
|
| 61 |
+
"loss": 1.211,
|
| 62 |
+
"step": 900
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"epoch": 0.8,
|
| 66 |
+
"learning_rate": 9.195494770716011e-06,
|
| 67 |
+
"loss": 1.1573,
|
| 68 |
+
"step": 1000
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"epoch": 0.88,
|
| 72 |
+
"learning_rate": 9.11504424778761e-06,
|
| 73 |
+
"loss": 1.1225,
|
| 74 |
+
"step": 1100
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.97,
|
| 78 |
+
"learning_rate": 9.034593724859211e-06,
|
| 79 |
+
"loss": 1.0805,
|
| 80 |
+
"step": 1200
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 1.05,
|
| 84 |
+
"learning_rate": 8.954143201930812e-06,
|
| 85 |
+
"loss": 1.0202,
|
| 86 |
+
"step": 1300
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 1.13,
|
| 90 |
+
"learning_rate": 8.873692679002415e-06,
|
| 91 |
+
"loss": 1.0192,
|
| 92 |
+
"step": 1400
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"epoch": 1.21,
|
| 96 |
+
"learning_rate": 8.793242156074015e-06,
|
| 97 |
+
"loss": 0.9795,
|
| 98 |
+
"step": 1500
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"epoch": 1.29,
|
| 102 |
+
"learning_rate": 8.712791633145616e-06,
|
| 103 |
+
"loss": 1.0127,
|
| 104 |
+
"step": 1600
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 1.37,
|
| 108 |
+
"learning_rate": 8.632341110217217e-06,
|
| 109 |
+
"loss": 0.9978,
|
| 110 |
+
"step": 1700
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 1.45,
|
| 114 |
+
"learning_rate": 8.551890587288818e-06,
|
| 115 |
+
"loss": 0.9469,
|
| 116 |
+
"step": 1800
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"epoch": 1.53,
|
| 120 |
+
"learning_rate": 8.471440064360419e-06,
|
| 121 |
+
"loss": 1.0574,
|
| 122 |
+
"step": 1900
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 1.61,
|
| 126 |
+
"learning_rate": 8.39098954143202e-06,
|
| 127 |
+
"loss": 0.9992,
|
| 128 |
+
"step": 2000
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 1.69,
|
| 132 |
+
"learning_rate": 8.31053901850362e-06,
|
| 133 |
+
"loss": 0.9614,
|
| 134 |
+
"step": 2100
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"epoch": 1.77,
|
| 138 |
+
"learning_rate": 8.230088495575221e-06,
|
| 139 |
+
"loss": 0.9803,
|
| 140 |
+
"step": 2200
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"epoch": 1.85,
|
| 144 |
+
"learning_rate": 8.149637972646824e-06,
|
| 145 |
+
"loss": 1.0217,
|
| 146 |
+
"step": 2300
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 1.93,
|
| 150 |
+
"learning_rate": 8.069187449718425e-06,
|
| 151 |
+
"loss": 0.981,
|
| 152 |
+
"step": 2400
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 2.01,
|
| 156 |
+
"learning_rate": 7.988736926790026e-06,
|
| 157 |
+
"loss": 0.9652,
|
| 158 |
+
"step": 2500
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"epoch": 2.09,
|
| 162 |
+
"learning_rate": 7.908286403861627e-06,
|
| 163 |
+
"loss": 0.8977,
|
| 164 |
+
"step": 2600
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 2.17,
|
| 168 |
+
"learning_rate": 7.827835880933227e-06,
|
| 169 |
+
"loss": 0.8963,
|
| 170 |
+
"step": 2700
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 2.25,
|
| 174 |
+
"learning_rate": 7.747385358004828e-06,
|
| 175 |
+
"loss": 0.8518,
|
| 176 |
+
"step": 2800
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"epoch": 2.33,
|
| 180 |
+
"learning_rate": 7.666934835076429e-06,
|
| 181 |
+
"loss": 0.9323,
|
| 182 |
+
"step": 2900
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"epoch": 2.41,
|
| 186 |
+
"learning_rate": 7.586484312148029e-06,
|
| 187 |
+
"loss": 0.8418,
|
| 188 |
+
"step": 3000
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"epoch": 2.49,
|
| 192 |
+
"learning_rate": 7.50603378921963e-06,
|
| 193 |
+
"loss": 0.8833,
|
| 194 |
+
"step": 3100
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"epoch": 2.57,
|
| 198 |
+
"learning_rate": 7.425583266291232e-06,
|
| 199 |
+
"loss": 0.8693,
|
| 200 |
+
"step": 3200
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 2.65,
|
| 204 |
+
"learning_rate": 7.3451327433628326e-06,
|
| 205 |
+
"loss": 0.8958,
|
| 206 |
+
"step": 3300
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 2.74,
|
| 210 |
+
"learning_rate": 7.2646822204344334e-06,
|
| 211 |
+
"loss": 0.906,
|
| 212 |
+
"step": 3400
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"epoch": 2.82,
|
| 216 |
+
"learning_rate": 7.184231697506034e-06,
|
| 217 |
+
"loss": 0.8296,
|
| 218 |
+
"step": 3500
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"epoch": 2.9,
|
| 222 |
+
"learning_rate": 7.103781174577635e-06,
|
| 223 |
+
"loss": 0.879,
|
| 224 |
+
"step": 3600
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"epoch": 2.98,
|
| 228 |
+
"learning_rate": 7.023330651649236e-06,
|
| 229 |
+
"loss": 0.8278,
|
| 230 |
+
"step": 3700
|
| 231 |
+
}
|
| 232 |
+
],
|
| 233 |
+
"max_steps": 12430,
|
| 234 |
+
"num_train_epochs": 10,
|
| 235 |
+
"total_flos": 3923746763567616.0,
|
| 236 |
+
"trial_name": null,
|
| 237 |
+
"trial_params": null
|
| 238 |
+
}
|
classfication_model/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d55a2fbf59a2f7b6d32bb381de952dcb0e272397357927baea76deec7684f72
|
| 3 |
+
size 3451
|
classfication_model/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|