upload model
Browse files- README.md +0 -0
- config.json +67 -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 +181 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
File without changes
|
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "NOUN",
|
16 |
+
"1": "PUNCT",
|
17 |
+
"2": "ADP",
|
18 |
+
"3": "NUM",
|
19 |
+
"4": "SYM",
|
20 |
+
"5": "SCONJ",
|
21 |
+
"6": "ADJ",
|
22 |
+
"7": "PART",
|
23 |
+
"8": "DET",
|
24 |
+
"9": "CCONJ",
|
25 |
+
"10": "PROPN",
|
26 |
+
"11": "PRON",
|
27 |
+
"12": "X",
|
28 |
+
"13": "_",
|
29 |
+
"14": "ADV",
|
30 |
+
"15": "INTJ",
|
31 |
+
"16": "VERB",
|
32 |
+
"17": "AUX"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"NOUN": 0,
|
38 |
+
"PUNCT": 1,
|
39 |
+
"PROPN": 10,
|
40 |
+
"PRON": 11,
|
41 |
+
"X": 12,
|
42 |
+
"_": 13,
|
43 |
+
"ADV": 14,
|
44 |
+
"INTJ": 15,
|
45 |
+
"VERB": 16,
|
46 |
+
"AUX": 17,
|
47 |
+
"ADP": 2,
|
48 |
+
"NUM": 3,
|
49 |
+
"SYM": 4,
|
50 |
+
"SCONJ": 5,
|
51 |
+
"ADJ": 6,
|
52 |
+
"PART": 7,
|
53 |
+
"DET": 8,
|
54 |
+
"CCONJ": 9
|
55 |
+
},
|
56 |
+
"layer_norm_eps": 1e-05,
|
57 |
+
"max_position_embeddings": 514,
|
58 |
+
"model_type": "roberta",
|
59 |
+
"num_attention_heads": 12,
|
60 |
+
"num_hidden_layers": 12,
|
61 |
+
"pad_token_id": 1,
|
62 |
+
"position_embedding_type": "absolute",
|
63 |
+
"transformers_version": "4.6.1",
|
64 |
+
"type_vocab_size": 1,
|
65 |
+
"use_cache": true,
|
66 |
+
"vocab_size": 52000
|
67 |
+
}
|
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:4a3ef85b9bd9c626ef882eabb3f68e19f65d88416f8187ca0fed5e17724f34a4
|
3 |
+
size 501693261
|
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,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9909600298841987,
|
3 |
+
"best_model_checkpoint": "/home/shared/dt01/temutauro/ccasimiro/berta/src/finetuning/pos/roberta-base-ca-cased-pos/checkpoint-1230",
|
4 |
+
"epoch": 9.99878197320341,
|
5 |
+
"global_step": 4100,
|
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.9902717208990272,
|
13 |
+
"eval_f1": 0.9884402778815269,
|
14 |
+
"eval_loss": 0.04564520716667175,
|
15 |
+
"eval_precision": 0.9881081282903335,
|
16 |
+
"eval_recall": 0.9887726508499907,
|
17 |
+
"eval_runtime": 13.2852,
|
18 |
+
"eval_samples_per_second": 128.639,
|
19 |
+
"step": 410
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 1.22,
|
23 |
+
"learning_rate": 4.390243902439025e-05,
|
24 |
+
"loss": 0.1804,
|
25 |
+
"step": 500
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.9918077649676018,
|
30 |
+
"eval_f1": 0.9899899152130878,
|
31 |
+
"eval_loss": 0.036869727075099945,
|
32 |
+
"eval_precision": 0.9896941861767671,
|
33 |
+
"eval_recall": 0.9902858210349337,
|
34 |
+
"eval_runtime": 13.3317,
|
35 |
+
"eval_samples_per_second": 128.191,
|
36 |
+
"step": 820
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 2.44,
|
40 |
+
"learning_rate": 3.780487804878049e-05,
|
41 |
+
"loss": 0.0303,
|
42 |
+
"step": 1000
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 3.0,
|
46 |
+
"eval_accuracy": 0.992355091015025,
|
47 |
+
"eval_f1": 0.9909600298841987,
|
48 |
+
"eval_loss": 0.03579937666654587,
|
49 |
+
"eval_precision": 0.9907749766573296,
|
50 |
+
"eval_recall": 0.9911451522510741,
|
51 |
+
"eval_runtime": 13.2482,
|
52 |
+
"eval_samples_per_second": 128.999,
|
53 |
+
"step": 1230
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 3.66,
|
57 |
+
"learning_rate": 3.170731707317073e-05,
|
58 |
+
"loss": 0.0194,
|
59 |
+
"step": 1500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 4.0,
|
63 |
+
"eval_accuracy": 0.9921079115097371,
|
64 |
+
"eval_f1": 0.9907175675170894,
|
65 |
+
"eval_loss": 0.037922825664281845,
|
66 |
+
"eval_precision": 0.9904955745602569,
|
67 |
+
"eval_recall": 0.9909396600037362,
|
68 |
+
"eval_runtime": 13.1871,
|
69 |
+
"eval_samples_per_second": 129.596,
|
70 |
+
"step": 1640
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 4.88,
|
74 |
+
"learning_rate": 2.5609756097560977e-05,
|
75 |
+
"loss": 0.0133,
|
76 |
+
"step": 2000
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 5.0,
|
80 |
+
"eval_accuracy": 0.992231501262381,
|
81 |
+
"eval_f1": 0.9908294577986965,
|
82 |
+
"eval_loss": 0.03801530599594116,
|
83 |
+
"eval_precision": 0.9906259336719451,
|
84 |
+
"eval_recall": 0.991033065570708,
|
85 |
+
"eval_runtime": 13.3822,
|
86 |
+
"eval_samples_per_second": 127.707,
|
87 |
+
"step": 2050
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 6.0,
|
91 |
+
"eval_accuracy": 0.9916841752149579,
|
92 |
+
"eval_f1": 0.9903335170120761,
|
93 |
+
"eval_loss": 0.04094540327787399,
|
94 |
+
"eval_precision": 0.9902317849872061,
|
95 |
+
"eval_recall": 0.9904352699420885,
|
96 |
+
"eval_runtime": 13.2046,
|
97 |
+
"eval_samples_per_second": 129.424,
|
98 |
+
"step": 2460
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 6.1,
|
102 |
+
"learning_rate": 1.9512195121951222e-05,
|
103 |
+
"loss": 0.0085,
|
104 |
+
"step": 2500
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 7.0,
|
108 |
+
"eval_accuracy": 0.9918430763255001,
|
109 |
+
"eval_f1": 0.9904548426263192,
|
110 |
+
"eval_loss": 0.04267619550228119,
|
111 |
+
"eval_precision": 0.9903623459096003,
|
112 |
+
"eval_recall": 0.9905473566224547,
|
113 |
+
"eval_runtime": 13.3294,
|
114 |
+
"eval_samples_per_second": 128.212,
|
115 |
+
"step": 2870
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 7.32,
|
119 |
+
"learning_rate": 1.3414634146341466e-05,
|
120 |
+
"loss": 0.0059,
|
121 |
+
"step": 3000
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 8.0,
|
125 |
+
"eval_accuracy": 0.9922668126202793,
|
126 |
+
"eval_f1": 0.9909512826019965,
|
127 |
+
"eval_loss": 0.04542930796742439,
|
128 |
+
"eval_precision": 0.9907014956028157,
|
129 |
+
"eval_recall": 0.9912011955912572,
|
130 |
+
"eval_runtime": 13.2987,
|
131 |
+
"eval_samples_per_second": 128.508,
|
132 |
+
"step": 3280
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 8.54,
|
136 |
+
"learning_rate": 7.317073170731707e-06,
|
137 |
+
"loss": 0.0037,
|
138 |
+
"step": 3500
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 9.0,
|
142 |
+
"eval_accuracy": 0.991966666078144,
|
143 |
+
"eval_f1": 0.9906329090280827,
|
144 |
+
"eval_loss": 0.04698851332068443,
|
145 |
+
"eval_precision": 0.9904756568995462,
|
146 |
+
"eval_recall": 0.9907902110965814,
|
147 |
+
"eval_runtime": 13.2254,
|
148 |
+
"eval_samples_per_second": 129.221,
|
149 |
+
"step": 3690
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 9.76,
|
153 |
+
"learning_rate": 1.2195121951219514e-06,
|
154 |
+
"loss": 0.0028,
|
155 |
+
"step": 4000
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 10.0,
|
159 |
+
"eval_accuracy": 0.9919843217570932,
|
160 |
+
"eval_f1": 0.9906423354937522,
|
161 |
+
"eval_loss": 0.04776829481124878,
|
162 |
+
"eval_precision": 0.9904758347650706,
|
163 |
+
"eval_recall": 0.9908088922099757,
|
164 |
+
"eval_runtime": 13.2102,
|
165 |
+
"eval_samples_per_second": 129.37,
|
166 |
+
"step": 4100
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 10.0,
|
170 |
+
"step": 4100,
|
171 |
+
"total_flos": 0,
|
172 |
+
"train_runtime": 3867.6486,
|
173 |
+
"train_samples_per_second": 1.06
|
174 |
+
}
|
175 |
+
],
|
176 |
+
"max_steps": 4100,
|
177 |
+
"num_train_epochs": 10,
|
178 |
+
"total_flos": 0,
|
179 |
+
"trial_name": null,
|
180 |
+
"trial_params": null
|
181 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c4ca07a4cfb95ccbc90161bc8bd5268a9e427fc9d3086dcd7ed5949b6eb26c5
|
3 |
+
size 2479
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|