Update config.json
Browse files- config.json +161 -0
config.json
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"CustomBertNER"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"directionality": "bidi",
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-ADD",
|
14 |
+
"2": "I-ADD",
|
15 |
+
"3": "B-DCD",
|
16 |
+
"4": "I-DCD",
|
17 |
+
"5": "B-SGN",
|
18 |
+
"6": "I-SGN",
|
19 |
+
"7": "B-DTN",
|
20 |
+
"8": "I-DTN",
|
21 |
+
"9": "B-ICD",
|
22 |
+
"10": "I-ICD",
|
23 |
+
"11": "B-OCD",
|
24 |
+
"12": "I-OCD",
|
25 |
+
"13": "B-IBD",
|
26 |
+
"14": "I-IBD",
|
27 |
+
"15": "B-OBD",
|
28 |
+
"16": "I-OBD",
|
29 |
+
"17": "B-IND",
|
30 |
+
"18": "I-IND",
|
31 |
+
"19": "B-OND",
|
32 |
+
"20": "I-OND",
|
33 |
+
"21": "B-OPC",
|
34 |
+
"22": "I-OPC",
|
35 |
+
"23": "B-EMC",
|
36 |
+
"24": "I-EMC",
|
37 |
+
"25": "B-EMDE",
|
38 |
+
"26": "I-EMDE",
|
39 |
+
"27": "B-EMDS",
|
40 |
+
"28": "I-EMDS",
|
41 |
+
"29": "B-OPDE",
|
42 |
+
"30": "I-OPDE",
|
43 |
+
"31": "B-OPDS",
|
44 |
+
"32": "I-OPDS",
|
45 |
+
"33": "B-RTDE",
|
46 |
+
"34": "I-RTDE",
|
47 |
+
"35": "B-RTDS",
|
48 |
+
"36": "I-RTDS",
|
49 |
+
"37": "B-SGDE",
|
50 |
+
"38": "I-SGDE",
|
51 |
+
"39": "B-SGDS",
|
52 |
+
"40": "I-SGDS",
|
53 |
+
"41": "B-CTC",
|
54 |
+
"42": "I-CTC",
|
55 |
+
"43": "B-CTDE",
|
56 |
+
"44": "I-CTDE",
|
57 |
+
"45": "B-CTDS",
|
58 |
+
"46": "I-CTDS",
|
59 |
+
"47": "B-RTC",
|
60 |
+
"48": "I-RTC",
|
61 |
+
"49": "B-DIN",
|
62 |
+
"50": "I-DIN",
|
63 |
+
"51": "B-CTD",
|
64 |
+
"52": "I-CTD",
|
65 |
+
"53": "B-DPN",
|
66 |
+
"54": "I-DPN",
|
67 |
+
"55": "B-EMD",
|
68 |
+
"56": "I-EMD",
|
69 |
+
"57": "B-OPD",
|
70 |
+
"58": "I-OPD",
|
71 |
+
"59": "B-RTD",
|
72 |
+
"60": "I-RTD",
|
73 |
+
"61": "B-SGC",
|
74 |
+
"62": "I-SGC",
|
75 |
+
"63": "B-SGD",
|
76 |
+
"64": "I-SGD"
|
77 |
+
},
|
78 |
+
"initializer_range": 0.02,
|
79 |
+
"intermediate_size": 3072,
|
80 |
+
"label2id": {
|
81 |
+
"B-ADD": 1,
|
82 |
+
"B-CTC": 41,
|
83 |
+
"B-CTD": 51,
|
84 |
+
"B-CTDE": 43,
|
85 |
+
"B-CTDS": 45,
|
86 |
+
"B-DCD": 3,
|
87 |
+
"B-DIN": 49,
|
88 |
+
"B-DPN": 53,
|
89 |
+
"B-DTN": 7,
|
90 |
+
"B-EMC": 23,
|
91 |
+
"B-EMD": 55,
|
92 |
+
"B-EMDE": 25,
|
93 |
+
"B-EMDS": 27,
|
94 |
+
"B-IBD": 13,
|
95 |
+
"B-ICD": 9,
|
96 |
+
"B-IND": 17,
|
97 |
+
"B-OBD": 15,
|
98 |
+
"B-OCD": 11,
|
99 |
+
"B-OND": 19,
|
100 |
+
"B-OPC": 21,
|
101 |
+
"B-OPD": 57,
|
102 |
+
"B-OPDE": 29,
|
103 |
+
"B-OPDS": 31,
|
104 |
+
"B-RTC": 47,
|
105 |
+
"B-RTD": 59,
|
106 |
+
"B-RTDE": 33,
|
107 |
+
"B-RTDS": 35,
|
108 |
+
"B-SGC": 61,
|
109 |
+
"B-SGD": 63,
|
110 |
+
"B-SGDE": 37,
|
111 |
+
"B-SGDS": 39,
|
112 |
+
"B-SGN": 5,
|
113 |
+
"I-ADD": 2,
|
114 |
+
"I-CTC": 42,
|
115 |
+
"I-CTD": 52,
|
116 |
+
"I-CTDE": 44,
|
117 |
+
"I-CTDS": 46,
|
118 |
+
"I-DCD": 4,
|
119 |
+
"I-DIN": 50,
|
120 |
+
"I-DPN": 54,
|
121 |
+
"I-DTN": 8,
|
122 |
+
"I-EMC": 24,
|
123 |
+
"I-EMD": 56,
|
124 |
+
"I-EMDE": 26,
|
125 |
+
"I-EMDS": 28,
|
126 |
+
"I-IBD": 14,
|
127 |
+
"I-ICD": 10,
|
128 |
+
"I-IND": 18,
|
129 |
+
"I-OBD": 16,
|
130 |
+
"I-OCD": 12,
|
131 |
+
"I-OND": 20,
|
132 |
+
"I-OPC": 22,
|
133 |
+
"I-OPD": 58,
|
134 |
+
"I-OPDE": 30,
|
135 |
+
"I-OPDS": 32,
|
136 |
+
"I-RTC": 48,
|
137 |
+
"I-RTD": 60,
|
138 |
+
"I-RTDE": 34,
|
139 |
+
"I-RTDS": 36,
|
140 |
+
"I-SGC": 62,
|
141 |
+
"I-SGD": 64,
|
142 |
+
"I-SGDE": 38,
|
143 |
+
"I-SGDS": 40,
|
144 |
+
"I-SGN": 6,
|
145 |
+
"O": 0
|
146 |
+
},
|
147 |
+
"layer_norm_eps": 1e-12,
|
148 |
+
"max_position_embeddings": 512,
|
149 |
+
"model_type": "bert",
|
150 |
+
"num_attention_heads": 12,
|
151 |
+
"num_hidden_layers": 12,
|
152 |
+
"output_past": true,
|
153 |
+
"pad_token_id": 0,
|
154 |
+
"pooler_fc_size": 768,
|
155 |
+
"pooler_num_attention_heads": 12,
|
156 |
+
"pooler_num_fc_layers": 3,
|
157 |
+
"pooler_size_per_head": 128,
|
158 |
+
"pooler_type": "first_token_transform",
|
159 |
+
"type_vocab_size": 2,
|
160 |
+
"vocab_size": 21136
|
161 |
+
}
|