upload model
Browse files- README.md +0 -0
- all_results.json +21 -0
- config.json +49 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +169 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
File without changes
|
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.9880401815483233,
|
4 |
+
"eval_f1": 0.8867365091915398,
|
5 |
+
"eval_loss": 0.057308126240968704,
|
6 |
+
"eval_precision": 0.8851617995264404,
|
7 |
+
"eval_recall": 0.8883168316831683,
|
8 |
+
"eval_runtime": 10.7433,
|
9 |
+
"eval_samples": 1429,
|
10 |
+
"eval_samples_per_second": 133.013,
|
11 |
+
"predict_accuracy": 0.9869031377899045,
|
12 |
+
"predict_f1": 0.8963029756537422,
|
13 |
+
"predict_loss": 0.0634368360042572,
|
14 |
+
"predict_precision": 0.8881343817012152,
|
15 |
+
"predict_recall": 0.904623225336731,
|
16 |
+
"predict_runtime": 11.0009,
|
17 |
+
"predict_samples_per_second": 138.897,
|
18 |
+
"train_runtime": 3184.2872,
|
19 |
+
"train_samples": 10630,
|
20 |
+
"train_samples_per_second": 1.043
|
21 |
+
}
|
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bsc/roberta-base-ca-cased",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"finetuning_task": "ner",
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "B_LOC",
|
16 |
+
"1": "B_MISC",
|
17 |
+
"2": "B_ORG",
|
18 |
+
"3": "B_PER",
|
19 |
+
"4": "I_LOC",
|
20 |
+
"5": "I_MISC",
|
21 |
+
"6": "I_ORG",
|
22 |
+
"7": "I_PER",
|
23 |
+
"8": "O"
|
24 |
+
},
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"B_LOC": 0,
|
29 |
+
"B_MISC": 1,
|
30 |
+
"B_ORG": 2,
|
31 |
+
"B_PER": 3,
|
32 |
+
"I_LOC": 4,
|
33 |
+
"I_MISC": 5,
|
34 |
+
"I_ORG": 6,
|
35 |
+
"I_PER": 7,
|
36 |
+
"O": 8
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-05,
|
39 |
+
"max_position_embeddings": 514,
|
40 |
+
"model_type": "roberta",
|
41 |
+
"num_attention_heads": 12,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"pad_token_id": 1,
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"transformers_version": "4.6.1",
|
46 |
+
"type_vocab_size": 1,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 52000
|
49 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:719187b33d8de05d7e4f9e21846b378b9b9e1f1b4716ac29e9874d895a57cfc3
|
3 |
+
size 501665195
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": true, "errors": "replace", "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "max_len": 512, "special_tokens_map_file": null, "name_or_path": "bsc/roberta-base-ca-cased"}
|
trainer_state.json
ADDED
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8867365091915398,
|
3 |
+
"best_model_checkpoint": "/home/shared/dt01/temutauro/ccasimiro/berta/src/finetuning/ner/roberta-base-ca-cased-ner/checkpoint-2656",
|
4 |
+
"epoch": 9.998496240601504,
|
5 |
+
"global_step": 3320,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_accuracy": 0.9859966873884145,
|
13 |
+
"eval_f1": 0.8615444617784711,
|
14 |
+
"eval_loss": 0.04728459194302559,
|
15 |
+
"eval_precision": 0.8486361890126777,
|
16 |
+
"eval_recall": 0.8748514851485149,
|
17 |
+
"eval_runtime": 10.4518,
|
18 |
+
"eval_samples_per_second": 136.723,
|
19 |
+
"step": 332
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 1.51,
|
23 |
+
"learning_rate": 4.2469879518072294e-05,
|
24 |
+
"loss": 0.1234,
|
25 |
+
"step": 500
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.9875884617866592,
|
30 |
+
"eval_f1": 0.8732558139534884,
|
31 |
+
"eval_loss": 0.043166399002075195,
|
32 |
+
"eval_precision": 0.8550284629981024,
|
33 |
+
"eval_recall": 0.8922772277227723,
|
34 |
+
"eval_runtime": 10.4813,
|
35 |
+
"eval_samples_per_second": 136.338,
|
36 |
+
"step": 664
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 3.0,
|
40 |
+
"eval_accuracy": 0.988147733872529,
|
41 |
+
"eval_f1": 0.8809570504020395,
|
42 |
+
"eval_loss": 0.041024718433618546,
|
43 |
+
"eval_precision": 0.8725718725718725,
|
44 |
+
"eval_recall": 0.8895049504950495,
|
45 |
+
"eval_runtime": 10.4962,
|
46 |
+
"eval_samples_per_second": 136.145,
|
47 |
+
"step": 996
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 3.01,
|
51 |
+
"learning_rate": 3.4939759036144585e-05,
|
52 |
+
"loss": 0.025,
|
53 |
+
"step": 1000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 4.0,
|
57 |
+
"eval_accuracy": 0.9883628385209404,
|
58 |
+
"eval_f1": 0.8852136247292774,
|
59 |
+
"eval_loss": 0.04351422190666199,
|
60 |
+
"eval_precision": 0.880187940485513,
|
61 |
+
"eval_recall": 0.8902970297029703,
|
62 |
+
"eval_runtime": 10.4692,
|
63 |
+
"eval_samples_per_second": 136.496,
|
64 |
+
"step": 1328
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.52,
|
68 |
+
"learning_rate": 2.7409638554216873e-05,
|
69 |
+
"loss": 0.0118,
|
70 |
+
"step": 1500
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 5.0,
|
74 |
+
"eval_accuracy": 0.9873733571382478,
|
75 |
+
"eval_f1": 0.8842647641696393,
|
76 |
+
"eval_loss": 0.05047034099698067,
|
77 |
+
"eval_precision": 0.8849662832209441,
|
78 |
+
"eval_recall": 0.8835643564356436,
|
79 |
+
"eval_runtime": 10.5711,
|
80 |
+
"eval_samples_per_second": 135.179,
|
81 |
+
"step": 1660
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 6.0,
|
85 |
+
"eval_accuracy": 0.9880616920131644,
|
86 |
+
"eval_f1": 0.8832807570977917,
|
87 |
+
"eval_loss": 0.05266088992357254,
|
88 |
+
"eval_precision": 0.8794660384766392,
|
89 |
+
"eval_recall": 0.8871287128712871,
|
90 |
+
"eval_runtime": 10.4803,
|
91 |
+
"eval_samples_per_second": 136.351,
|
92 |
+
"step": 1992
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 6.02,
|
96 |
+
"learning_rate": 1.9879518072289157e-05,
|
97 |
+
"loss": 0.0073,
|
98 |
+
"step": 2000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 7.0,
|
102 |
+
"eval_accuracy": 0.9878896082944353,
|
103 |
+
"eval_f1": 0.8827694728560189,
|
104 |
+
"eval_loss": 0.054938483983278275,
|
105 |
+
"eval_precision": 0.876905041031653,
|
106 |
+
"eval_recall": 0.8887128712871287,
|
107 |
+
"eval_runtime": 10.3993,
|
108 |
+
"eval_samples_per_second": 137.414,
|
109 |
+
"step": 2324
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 7.53,
|
113 |
+
"learning_rate": 1.2349397590361447e-05,
|
114 |
+
"loss": 0.0045,
|
115 |
+
"step": 2500
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 8.0,
|
119 |
+
"eval_accuracy": 0.9880401815483233,
|
120 |
+
"eval_f1": 0.8867365091915398,
|
121 |
+
"eval_loss": 0.057308126240968704,
|
122 |
+
"eval_precision": 0.8851617995264404,
|
123 |
+
"eval_recall": 0.8883168316831683,
|
124 |
+
"eval_runtime": 10.4397,
|
125 |
+
"eval_samples_per_second": 136.881,
|
126 |
+
"step": 2656
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 9.0,
|
130 |
+
"eval_accuracy": 0.9883843489857815,
|
131 |
+
"eval_f1": 0.8863502068150484,
|
132 |
+
"eval_loss": 0.05588913336396217,
|
133 |
+
"eval_precision": 0.8816614420062696,
|
134 |
+
"eval_recall": 0.8910891089108911,
|
135 |
+
"eval_runtime": 10.5436,
|
136 |
+
"eval_samples_per_second": 135.533,
|
137 |
+
"step": 2988
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 9.04,
|
141 |
+
"learning_rate": 4.819277108433735e-06,
|
142 |
+
"loss": 0.003,
|
143 |
+
"step": 3000
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 10.0,
|
147 |
+
"eval_accuracy": 0.9883413280560993,
|
148 |
+
"eval_f1": 0.8860410094637224,
|
149 |
+
"eval_loss": 0.05681716278195381,
|
150 |
+
"eval_precision": 0.8822143698468787,
|
151 |
+
"eval_recall": 0.8899009900990099,
|
152 |
+
"eval_runtime": 10.4599,
|
153 |
+
"eval_samples_per_second": 136.617,
|
154 |
+
"step": 3320
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"epoch": 10.0,
|
158 |
+
"step": 3320,
|
159 |
+
"total_flos": 0,
|
160 |
+
"train_runtime": 3184.2872,
|
161 |
+
"train_samples_per_second": 1.043
|
162 |
+
}
|
163 |
+
],
|
164 |
+
"max_steps": 3320,
|
165 |
+
"num_train_epochs": 10,
|
166 |
+
"total_flos": 0,
|
167 |
+
"trial_name": null,
|
168 |
+
"trial_params": null
|
169 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d1bc5254034f15969ebc9d2b257520e90c777c69a30689a62a6bfdb5a53c4ca
|
3 |
+
size 2479
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|