Upload 11 files
Browse files- config.json +137 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- trainer_state.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mbruton/spa_pt_mBERT",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"BertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "O",
|
15 |
+
"1": "r0:arg0",
|
16 |
+
"2": "r0:arg1",
|
17 |
+
"3": "r0:arg2",
|
18 |
+
"4": "r0:root",
|
19 |
+
"5": "r10:arg0",
|
20 |
+
"6": "r10:arg1",
|
21 |
+
"7": "r10:root",
|
22 |
+
"8": "r11:arg0",
|
23 |
+
"9": "r11:root",
|
24 |
+
"10": "r12:arg1",
|
25 |
+
"11": "r12:root",
|
26 |
+
"12": "r13:arg1",
|
27 |
+
"13": "r13:root",
|
28 |
+
"14": "r1:arg0",
|
29 |
+
"15": "r1:arg1",
|
30 |
+
"16": "r1:arg2",
|
31 |
+
"17": "r1:root",
|
32 |
+
"18": "r2:arg0",
|
33 |
+
"19": "r2:arg1",
|
34 |
+
"20": "r2:arg2",
|
35 |
+
"21": "r2:root",
|
36 |
+
"22": "r3:arg0",
|
37 |
+
"23": "r3:arg1",
|
38 |
+
"24": "r3:arg2",
|
39 |
+
"25": "r3:root",
|
40 |
+
"26": "r4:arg0",
|
41 |
+
"27": "r4:arg1",
|
42 |
+
"28": "r4:arg2",
|
43 |
+
"29": "r4:root",
|
44 |
+
"30": "r5:arg0",
|
45 |
+
"31": "r5:arg1",
|
46 |
+
"32": "r5:arg2",
|
47 |
+
"33": "r5:root",
|
48 |
+
"34": "r6:arg0",
|
49 |
+
"35": "r6:arg1",
|
50 |
+
"36": "r6:arg2",
|
51 |
+
"37": "r6:root",
|
52 |
+
"38": "r7:arg0",
|
53 |
+
"39": "r7:arg1",
|
54 |
+
"40": "r7:arg2",
|
55 |
+
"41": "r7:root",
|
56 |
+
"42": "r8:arg0",
|
57 |
+
"43": "r8:arg1",
|
58 |
+
"44": "r8:arg2",
|
59 |
+
"45": "r8:root",
|
60 |
+
"46": "r9:arg0",
|
61 |
+
"47": "r9:arg1",
|
62 |
+
"48": "r9:arg2",
|
63 |
+
"49": "r9:root"
|
64 |
+
},
|
65 |
+
"initializer_range": 0.02,
|
66 |
+
"intermediate_size": 3072,
|
67 |
+
"label2id": {
|
68 |
+
"O": 0,
|
69 |
+
"r0:arg0": 1,
|
70 |
+
"r0:arg1": 2,
|
71 |
+
"r0:arg2": 3,
|
72 |
+
"r0:root": 4,
|
73 |
+
"r10:arg0": 5,
|
74 |
+
"r10:arg1": 6,
|
75 |
+
"r10:root": 7,
|
76 |
+
"r11:arg0": 8,
|
77 |
+
"r11:root": 9,
|
78 |
+
"r12:arg1": 10,
|
79 |
+
"r12:root": 11,
|
80 |
+
"r13:arg1": 12,
|
81 |
+
"r13:root": 13,
|
82 |
+
"r1:arg0": 14,
|
83 |
+
"r1:arg1": 15,
|
84 |
+
"r1:arg2": 16,
|
85 |
+
"r1:root": 17,
|
86 |
+
"r2:arg0": 18,
|
87 |
+
"r2:arg1": 19,
|
88 |
+
"r2:arg2": 20,
|
89 |
+
"r2:root": 21,
|
90 |
+
"r3:arg0": 22,
|
91 |
+
"r3:arg1": 23,
|
92 |
+
"r3:arg2": 24,
|
93 |
+
"r3:root": 25,
|
94 |
+
"r4:arg0": 26,
|
95 |
+
"r4:arg1": 27,
|
96 |
+
"r4:arg2": 28,
|
97 |
+
"r4:root": 29,
|
98 |
+
"r5:arg0": 30,
|
99 |
+
"r5:arg1": 31,
|
100 |
+
"r5:arg2": 32,
|
101 |
+
"r5:root": 33,
|
102 |
+
"r6:arg0": 34,
|
103 |
+
"r6:arg1": 35,
|
104 |
+
"r6:arg2": 36,
|
105 |
+
"r6:root": 37,
|
106 |
+
"r7:arg0": 38,
|
107 |
+
"r7:arg1": 39,
|
108 |
+
"r7:arg2": 40,
|
109 |
+
"r7:root": 41,
|
110 |
+
"r8:arg0": 42,
|
111 |
+
"r8:arg1": 43,
|
112 |
+
"r8:arg2": 44,
|
113 |
+
"r8:root": 45,
|
114 |
+
"r9:arg0": 46,
|
115 |
+
"r9:arg1": 47,
|
116 |
+
"r9:arg2": 48,
|
117 |
+
"r9:root": 49
|
118 |
+
},
|
119 |
+
"layer_norm_eps": 1e-12,
|
120 |
+
"max_position_embeddings": 512,
|
121 |
+
"model_type": "bert",
|
122 |
+
"num_attention_heads": 12,
|
123 |
+
"num_hidden_layers": 12,
|
124 |
+
"output_past": true,
|
125 |
+
"pad_token_id": 0,
|
126 |
+
"pooler_fc_size": 768,
|
127 |
+
"pooler_num_attention_heads": 12,
|
128 |
+
"pooler_num_fc_layers": 3,
|
129 |
+
"pooler_size_per_head": 128,
|
130 |
+
"pooler_type": "first_token_transform",
|
131 |
+
"position_embedding_type": "absolute",
|
132 |
+
"torch_dtype": "float32",
|
133 |
+
"transformers_version": "4.27.4",
|
134 |
+
"type_vocab_size": 2,
|
135 |
+
"use_cache": true,
|
136 |
+
"vocab_size": 119547
|
137 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dae0a8c54d7f3b649206091a2e2f1cd5ca829de6674b8978a6c50d4052250b28
|
3 |
+
size 1418525797
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:618a1b0ad26fe43577f91740dd8e62768f3b2092dcb3703df620a0bef8107b13
|
3 |
+
size 709275633
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ef92f453b36632f4eef73e07667cfc9dd8b65aaffa67a0656eeede72d17840a
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b47606f206c4fa80d4aa0e0a5f115a0d0a8ba46a96847977a7b381495381b97b
|
3 |
+
size 623
|
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,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": false,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"max_len": 512,
|
7 |
+
"model_max_length": 512,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"special_tokens_map_file": "/root/.cache/huggingface/hub/models--liaad--srl-pt_mbert-base/snapshots/8134ee989df4975f4993ca7e627410ddfdb8e791/special_tokens_map.json",
|
12 |
+
"strip_accents": null,
|
13 |
+
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "BertTokenizer",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.31558218598365784,
|
3 |
+
"best_model_checkpoint": "gal_ptsp_mBERT/checkpoint-500",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 750,
|
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.8995338567222767,
|
13 |
+
"eval_f1": 0.6327821382305876,
|
14 |
+
"eval_loss": 0.3579872250556946,
|
15 |
+
"eval_precision": 0.6700016136840407,
|
16 |
+
"eval_recall": 0.5994802194628934,
|
17 |
+
"eval_runtime": 5.7508,
|
18 |
+
"eval_samples_per_second": 173.367,
|
19 |
+
"eval_steps_per_second": 10.955,
|
20 |
+
"step": 250
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.0,
|
24 |
+
"learning_rate": 1.9600000000000002e-05,
|
25 |
+
"loss": 0.4329,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"eval_accuracy": 0.9130888125613347,
|
31 |
+
"eval_f1": 0.6942777696472998,
|
32 |
+
"eval_loss": 0.31558218598365784,
|
33 |
+
"eval_precision": 0.7038575667655786,
|
34 |
+
"eval_recall": 0.6849552411204158,
|
35 |
+
"eval_runtime": 5.8676,
|
36 |
+
"eval_samples_per_second": 169.916,
|
37 |
+
"eval_steps_per_second": 10.737,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"eval_accuracy": 0.9141928361138371,
|
43 |
+
"eval_f1": 0.7064961051954548,
|
44 |
+
"eval_loss": 0.3165477216243744,
|
45 |
+
"eval_precision": 0.6994481392387152,
|
46 |
+
"eval_recall": 0.7136875541438059,
|
47 |
+
"eval_runtime": 5.7029,
|
48 |
+
"eval_samples_per_second": 174.823,
|
49 |
+
"eval_steps_per_second": 11.047,
|
50 |
+
"step": 750
|
51 |
+
}
|
52 |
+
],
|
53 |
+
"max_steps": 25000,
|
54 |
+
"num_train_epochs": 100,
|
55 |
+
"total_flos": 467350292245200.0,
|
56 |
+
"trial_name": null,
|
57 |
+
"trial_params": null
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ede992e2572939aaaf90b6bc237e3861c7cc1d06f7373532b87c067d48f233eb
|
3 |
+
size 3503
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|