Upload 11 files
Browse files- config.json +135 -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 +13 -0
- trainer_state.json +76 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mbruton/spa_mBERT",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "r0:arg0",
|
15 |
+
"2": "r0:arg1",
|
16 |
+
"3": "r0:arg2",
|
17 |
+
"4": "r0:root",
|
18 |
+
"5": "r10:arg0",
|
19 |
+
"6": "r10:arg1",
|
20 |
+
"7": "r10:root",
|
21 |
+
"8": "r11:arg0",
|
22 |
+
"9": "r11:root",
|
23 |
+
"10": "r12:arg1",
|
24 |
+
"11": "r12:root",
|
25 |
+
"12": "r13:arg1",
|
26 |
+
"13": "r13:root",
|
27 |
+
"14": "r1:arg0",
|
28 |
+
"15": "r1:arg1",
|
29 |
+
"16": "r1:arg2",
|
30 |
+
"17": "r1:root",
|
31 |
+
"18": "r2:arg0",
|
32 |
+
"19": "r2:arg1",
|
33 |
+
"20": "r2:arg2",
|
34 |
+
"21": "r2:root",
|
35 |
+
"22": "r3:arg0",
|
36 |
+
"23": "r3:arg1",
|
37 |
+
"24": "r3:arg2",
|
38 |
+
"25": "r3:root",
|
39 |
+
"26": "r4:arg0",
|
40 |
+
"27": "r4:arg1",
|
41 |
+
"28": "r4:arg2",
|
42 |
+
"29": "r4:root",
|
43 |
+
"30": "r5:arg0",
|
44 |
+
"31": "r5:arg1",
|
45 |
+
"32": "r5:arg2",
|
46 |
+
"33": "r5:root",
|
47 |
+
"34": "r6:arg0",
|
48 |
+
"35": "r6:arg1",
|
49 |
+
"36": "r6:arg2",
|
50 |
+
"37": "r6:root",
|
51 |
+
"38": "r7:arg0",
|
52 |
+
"39": "r7:arg1",
|
53 |
+
"40": "r7:arg2",
|
54 |
+
"41": "r7:root",
|
55 |
+
"42": "r8:arg0",
|
56 |
+
"43": "r8:arg1",
|
57 |
+
"44": "r8:arg2",
|
58 |
+
"45": "r8:root",
|
59 |
+
"46": "r9:arg0",
|
60 |
+
"47": "r9:arg1",
|
61 |
+
"48": "r9:arg2",
|
62 |
+
"49": "r9:root"
|
63 |
+
},
|
64 |
+
"initializer_range": 0.02,
|
65 |
+
"intermediate_size": 3072,
|
66 |
+
"label2id": {
|
67 |
+
"O": 0,
|
68 |
+
"r0:arg0": 1,
|
69 |
+
"r0:arg1": 2,
|
70 |
+
"r0:arg2": 3,
|
71 |
+
"r0:root": 4,
|
72 |
+
"r10:arg0": 5,
|
73 |
+
"r10:arg1": 6,
|
74 |
+
"r10:root": 7,
|
75 |
+
"r11:arg0": 8,
|
76 |
+
"r11:root": 9,
|
77 |
+
"r12:arg1": 10,
|
78 |
+
"r12:root": 11,
|
79 |
+
"r13:arg1": 12,
|
80 |
+
"r13:root": 13,
|
81 |
+
"r1:arg0": 14,
|
82 |
+
"r1:arg1": 15,
|
83 |
+
"r1:arg2": 16,
|
84 |
+
"r1:root": 17,
|
85 |
+
"r2:arg0": 18,
|
86 |
+
"r2:arg1": 19,
|
87 |
+
"r2:arg2": 20,
|
88 |
+
"r2:root": 21,
|
89 |
+
"r3:arg0": 22,
|
90 |
+
"r3:arg1": 23,
|
91 |
+
"r3:arg2": 24,
|
92 |
+
"r3:root": 25,
|
93 |
+
"r4:arg0": 26,
|
94 |
+
"r4:arg1": 27,
|
95 |
+
"r4:arg2": 28,
|
96 |
+
"r4:root": 29,
|
97 |
+
"r5:arg0": 30,
|
98 |
+
"r5:arg1": 31,
|
99 |
+
"r5:arg2": 32,
|
100 |
+
"r5:root": 33,
|
101 |
+
"r6:arg0": 34,
|
102 |
+
"r6:arg1": 35,
|
103 |
+
"r6:arg2": 36,
|
104 |
+
"r6:root": 37,
|
105 |
+
"r7:arg0": 38,
|
106 |
+
"r7:arg1": 39,
|
107 |
+
"r7:arg2": 40,
|
108 |
+
"r7:root": 41,
|
109 |
+
"r8:arg0": 42,
|
110 |
+
"r8:arg1": 43,
|
111 |
+
"r8:arg2": 44,
|
112 |
+
"r8:root": 45,
|
113 |
+
"r9:arg0": 46,
|
114 |
+
"r9:arg1": 47,
|
115 |
+
"r9:arg2": 48,
|
116 |
+
"r9:root": 49
|
117 |
+
},
|
118 |
+
"layer_norm_eps": 1e-12,
|
119 |
+
"max_position_embeddings": 512,
|
120 |
+
"model_type": "bert",
|
121 |
+
"num_attention_heads": 12,
|
122 |
+
"num_hidden_layers": 12,
|
123 |
+
"pad_token_id": 0,
|
124 |
+
"pooler_fc_size": 768,
|
125 |
+
"pooler_num_attention_heads": 12,
|
126 |
+
"pooler_num_fc_layers": 3,
|
127 |
+
"pooler_size_per_head": 128,
|
128 |
+
"pooler_type": "first_token_transform",
|
129 |
+
"position_embedding_type": "absolute",
|
130 |
+
"torch_dtype": "float32",
|
131 |
+
"transformers_version": "4.27.4",
|
132 |
+
"type_vocab_size": 2,
|
133 |
+
"use_cache": true,
|
134 |
+
"vocab_size": 119547
|
135 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00c3456259bd016acb0ba94114f64bd95a3805dca1d2041d0867185ea2aa02a7
|
3 |
+
size 1418525797
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c8ff3193a40e457469f08975787d5619a0bdd0769dc365e0e902e18668d9dd2
|
3 |
+
size 709275633
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:478142f0fbeb50d21dde010322218069e75aaefea35c551e692fea734dd91394
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab6ea3f39845052ca758a3db1bba68813da22478b6e8fddd3de91aa8d2da7249
|
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,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_lower_case": false,
|
4 |
+
"mask_token": "[MASK]",
|
5 |
+
"model_max_length": 512,
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"special_tokens_map_file": null,
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "BertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3174082040786743,
|
3 |
+
"best_model_checkpoint": "gal_sp_mBERT/checkpoint-750",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 1000,
|
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.8976631501472031,
|
13 |
+
"eval_f1": 0.6289719626168223,
|
14 |
+
"eval_loss": 0.36869561672210693,
|
15 |
+
"eval_precision": 0.682786608048698,
|
16 |
+
"eval_recall": 0.5830205024545192,
|
17 |
+
"eval_runtime": 5.5033,
|
18 |
+
"eval_samples_per_second": 181.163,
|
19 |
+
"eval_steps_per_second": 11.448,
|
20 |
+
"step": 250
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.0,
|
24 |
+
"learning_rate": 1.9600000000000002e-05,
|
25 |
+
"loss": 0.4367,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"eval_accuracy": 0.914622178606477,
|
31 |
+
"eval_f1": 0.7035446539049421,
|
32 |
+
"eval_loss": 0.3205152750015259,
|
33 |
+
"eval_precision": 0.7093791281373845,
|
34 |
+
"eval_recall": 0.6978053710655501,
|
35 |
+
"eval_runtime": 5.8377,
|
36 |
+
"eval_samples_per_second": 170.785,
|
37 |
+
"eval_steps_per_second": 10.792,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"eval_accuracy": 0.9163702158979392,
|
43 |
+
"eval_f1": 0.7188652482269503,
|
44 |
+
"eval_loss": 0.3174082040786743,
|
45 |
+
"eval_precision": 0.7064399219403401,
|
46 |
+
"eval_recall": 0.7317354894600058,
|
47 |
+
"eval_runtime": 5.6206,
|
48 |
+
"eval_samples_per_second": 177.384,
|
49 |
+
"eval_steps_per_second": 11.209,
|
50 |
+
"step": 750
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 4.0,
|
54 |
+
"learning_rate": 1.9200000000000003e-05,
|
55 |
+
"loss": 0.2325,
|
56 |
+
"step": 1000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 4.0,
|
60 |
+
"eval_accuracy": 0.9164315505397449,
|
61 |
+
"eval_f1": 0.709383145091225,
|
62 |
+
"eval_loss": 0.32722988724708557,
|
63 |
+
"eval_precision": 0.7114435085681092,
|
64 |
+
"eval_recall": 0.7073346809125036,
|
65 |
+
"eval_runtime": 5.4618,
|
66 |
+
"eval_samples_per_second": 182.541,
|
67 |
+
"eval_steps_per_second": 11.535,
|
68 |
+
"step": 1000
|
69 |
+
}
|
70 |
+
],
|
71 |
+
"max_steps": 25000,
|
72 |
+
"num_train_epochs": 100,
|
73 |
+
"total_flos": 623488737039000.0,
|
74 |
+
"trial_name": null,
|
75 |
+
"trial_params": null
|
76 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91208781d779f9188be4792bdcaa4c3a23be443f8f16c38d0acc8e70be49af12
|
3 |
+
size 3503
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|