Update config.json
Browse files- config.json +136 -0
config.json
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_num_labels": 51,
|
3 |
+
"architectures": [
|
4 |
+
"BertModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "B-Value",
|
12 |
+
"1": "B-Algorithm",
|
13 |
+
"2": "B-Application",
|
14 |
+
"3": "B-Class",
|
15 |
+
"4": "B-Code_Block",
|
16 |
+
"5": "B-Data_Structure",
|
17 |
+
"6": "B-Data_Type",
|
18 |
+
"7": "B-Device",
|
19 |
+
"8": "B-Error_Name",
|
20 |
+
"9": "B-File_Name",
|
21 |
+
"10": "B-File_Type",
|
22 |
+
"11": "B-Function",
|
23 |
+
"12": "B-HTML_XML_Tag",
|
24 |
+
"13": "B-Keyboard_IP",
|
25 |
+
"14": "B-Language",
|
26 |
+
"15": "B-Library",
|
27 |
+
"16": "B-Licence",
|
28 |
+
"17": "B-Operating_System",
|
29 |
+
"18": "B-Organization",
|
30 |
+
"19": "B-Output_Block",
|
31 |
+
"20": "B-User_Interface_Element",
|
32 |
+
"21": "B-User_Name",
|
33 |
+
"22": "B-Variable",
|
34 |
+
"23": "B-Version",
|
35 |
+
"24": "B-Website",
|
36 |
+
"25": "I-Value",
|
37 |
+
"26": "I-Algorithm",
|
38 |
+
"27": "I-Application",
|
39 |
+
"28": "I-Class",
|
40 |
+
"29": "I-Code_Block",
|
41 |
+
"30": "I-Data_Structure",
|
42 |
+
"31": "I-Data_Type",
|
43 |
+
"32": "I-Device",
|
44 |
+
"33": "I-Error_Name",
|
45 |
+
"34": "I-File_Name",
|
46 |
+
"35": "I-File_Type",
|
47 |
+
"36": "I-Function",
|
48 |
+
"37": "I-HTML_XML_Tag",
|
49 |
+
"38": "I-Keyboard_IP",
|
50 |
+
"39": "I-Language",
|
51 |
+
"40": "I-Library",
|
52 |
+
"41": "I-Licence",
|
53 |
+
"42": "I-Operating_System",
|
54 |
+
"43": "I-Organization",
|
55 |
+
"44": "I-Output_Block",
|
56 |
+
"45": "I-User_Interface_Element",
|
57 |
+
"46": "I-User_Name",
|
58 |
+
"47": "I-Variable",
|
59 |
+
"48": "I-Version",
|
60 |
+
"49": "I-Website",
|
61 |
+
"50": "O",
|
62 |
+
"51": "CTC_PRED:0",
|
63 |
+
"52": "CTC_PRED:1",
|
64 |
+
"53": "pred_seg_label:O",
|
65 |
+
"54": "pred_seg_label:Name"
|
66 |
+
},
|
67 |
+
"initializer_range": 0.02,
|
68 |
+
"intermediate_size": 3072,
|
69 |
+
"label2id": {
|
70 |
+
"B-Algorithm": 1,
|
71 |
+
"B-Application": 2,
|
72 |
+
"B-Class": 3,
|
73 |
+
"B-Code_Block": 4,
|
74 |
+
"B-Data_Structure": 5,
|
75 |
+
"B-Data_Type": 6,
|
76 |
+
"B-Device": 7,
|
77 |
+
"B-Error_Name": 8,
|
78 |
+
"B-File_Name": 9,
|
79 |
+
"B-File_Type": 10,
|
80 |
+
"B-Function": 11,
|
81 |
+
"B-HTML_XML_Tag": 12,
|
82 |
+
"B-Keyboard_IP": 13,
|
83 |
+
"B-Language": 14,
|
84 |
+
"B-Library": 15,
|
85 |
+
"B-Licence": 16,
|
86 |
+
"B-Operating_System": 17,
|
87 |
+
"B-Organization": 18,
|
88 |
+
"B-Output_Block": 19,
|
89 |
+
"B-User_Interface_Element": 20,
|
90 |
+
"B-User_Name": 21,
|
91 |
+
"B-Value": 0,
|
92 |
+
"B-Variable": 22,
|
93 |
+
"B-Version": 23,
|
94 |
+
"B-Website": 24,
|
95 |
+
"CTC_PRED:0": 51,
|
96 |
+
"CTC_PRED:1": 52,
|
97 |
+
"I-Algorithm": 26,
|
98 |
+
"I-Application": 27,
|
99 |
+
"I-Class": 28,
|
100 |
+
"I-Code_Block": 29,
|
101 |
+
"I-Data_Structure": 30,
|
102 |
+
"I-Data_Type": 31,
|
103 |
+
"I-Device": 32,
|
104 |
+
"I-Error_Name": 33,
|
105 |
+
"I-File_Name": 34,
|
106 |
+
"I-File_Type": 35,
|
107 |
+
"I-Function": 36,
|
108 |
+
"I-HTML_XML_Tag": 37,
|
109 |
+
"I-Keyboard_IP": 38,
|
110 |
+
"I-Language": 39,
|
111 |
+
"I-Library": 40,
|
112 |
+
"I-Licence": 41,
|
113 |
+
"I-Operating_System": 42,
|
114 |
+
"I-Organization": 43,
|
115 |
+
"I-Output_Block": 44,
|
116 |
+
"I-User_Interface_Element": 45,
|
117 |
+
"I-User_Name": 46,
|
118 |
+
"I-Value": 25,
|
119 |
+
"I-Variable": 47,
|
120 |
+
"I-Version": 48,
|
121 |
+
"I-Website": 49,
|
122 |
+
"O": 50,
|
123 |
+
"pred_seg_label:Name": 54,
|
124 |
+
"pred_seg_label:O": 53
|
125 |
+
},
|
126 |
+
"layer_norm_eps": 1e-12,
|
127 |
+
"max_position_embeddings": 512,
|
128 |
+
"model_type": "bert",
|
129 |
+
"num_attention_heads": 12,
|
130 |
+
"num_hidden_layers": 12,
|
131 |
+
"output_hidden_states": true,
|
132 |
+
"output_past": true,
|
133 |
+
"pad_token_id": 0,
|
134 |
+
"type_vocab_size": 2,
|
135 |
+
"vocab_size": 82000
|
136 |
+
}
|