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truncation": null,
|
4 |
+
"padding": {
|
5 |
+
"strategy": "BatchLongest",
|
6 |
+
"direction": "Right",
|
7 |
+
"pad_to_multiple_of": null,
|
8 |
+
"pad_id": 2,
|
9 |
+
"pad_type_id": 0,
|
10 |
+
"pad_token": "<PAD>"
|
11 |
+
},
|
12 |
+
"added_tokens": [
|
13 |
+
{
|
14 |
+
"id": 0,
|
15 |
+
"content": "<CLS>",
|
16 |
+
"single_word": false,
|
17 |
+
"lstrip": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"id": 1,
|
24 |
+
"content": "<EOS>",
|
25 |
+
"single_word": false,
|
26 |
+
"lstrip": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"normalized": false,
|
29 |
+
"special": true
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"id": 2,
|
33 |
+
"content": "<PAD>",
|
34 |
+
"single_word": false,
|
35 |
+
"lstrip": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"normalized": false,
|
38 |
+
"special": true
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"id": 3,
|
42 |
+
"content": "<UNK>",
|
43 |
+
"single_word": false,
|
44 |
+
"lstrip": false,
|
45 |
+
"rstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"special": true
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"normalizer": null,
|
51 |
+
"pre_tokenizer": {
|
52 |
+
"type": "Split",
|
53 |
+
"pattern": {
|
54 |
+
"String": "]"
|
55 |
+
},
|
56 |
+
"behavior": "MergedWithPrevious",
|
57 |
+
"invert": false
|
58 |
+
},
|
59 |
+
"post_processor": {
|
60 |
+
"type": "TemplateProcessing",
|
61 |
+
"single": [
|
62 |
+
{
|
63 |
+
"SpecialToken": {
|
64 |
+
"id": "<CLS>",
|
65 |
+
"type_id": 0
|
66 |
+
}
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"Sequence": {
|
70 |
+
"id": "A",
|
71 |
+
"type_id": 0
|
72 |
+
}
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"SpecialToken": {
|
76 |
+
"id": "<EOS>",
|
77 |
+
"type_id": 0
|
78 |
+
}
|
79 |
+
}
|
80 |
+
],
|
81 |
+
"pair": [
|
82 |
+
{
|
83 |
+
"Sequence": {
|
84 |
+
"id": "A",
|
85 |
+
"type_id": 0
|
86 |
+
}
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"Sequence": {
|
90 |
+
"id": "B",
|
91 |
+
"type_id": 1
|
92 |
+
}
|
93 |
+
}
|
94 |
+
],
|
95 |
+
"special_tokens": {
|
96 |
+
"<CLS>": {
|
97 |
+
"id": "<CLS>",
|
98 |
+
"ids": [
|
99 |
+
0
|
100 |
+
],
|
101 |
+
"tokens": [
|
102 |
+
"<CLS>"
|
103 |
+
]
|
104 |
+
},
|
105 |
+
"<EOS>": {
|
106 |
+
"id": "<EOS>",
|
107 |
+
"ids": [
|
108 |
+
1
|
109 |
+
],
|
110 |
+
"tokens": [
|
111 |
+
"<EOS>"
|
112 |
+
]
|
113 |
+
}
|
114 |
+
}
|
115 |
+
},
|
116 |
+
"decoder": null,
|
117 |
+
"model": {
|
118 |
+
"type": "WordLevel",
|
119 |
+
"vocab": {
|
120 |
+
"<CLS>": 0,
|
121 |
+
"<EOS>": 1,
|
122 |
+
"<PAD>": 2,
|
123 |
+
"<UNK>": 3,
|
124 |
+
"[C]": 4,
|
125 |
+
"[=C]": 5,
|
126 |
+
"[Ring1]": 6,
|
127 |
+
"[Branch1]": 7,
|
128 |
+
"[N]": 8,
|
129 |
+
"[=Branch1]": 9,
|
130 |
+
"[O]": 10,
|
131 |
+
"[=O]": 11,
|
132 |
+
"[Ring2]": 12,
|
133 |
+
"[Branch2]": 13,
|
134 |
+
"[=N]": 14,
|
135 |
+
"[S]": 15,
|
136 |
+
"[#Branch1]": 16,
|
137 |
+
"[=Branch2]": 17,
|
138 |
+
"[F]": 18,
|
139 |
+
"[#Branch2]": 19,
|
140 |
+
"[#C]": 20,
|
141 |
+
"[Cl]": 21,
|
142 |
+
"[P]": 22,
|
143 |
+
"[NH1]": 23,
|
144 |
+
"[=Ring1]": 24,
|
145 |
+
"[O-1]": 25,
|
146 |
+
"[N+1]": 26,
|
147 |
+
"[Br]": 27,
|
148 |
+
"[#N]": 28,
|
149 |
+
"[=Ring2]": 29,
|
150 |
+
"[=S]": 30,
|
151 |
+
"[=N+1]": 31,
|
152 |
+
"[I]": 32,
|
153 |
+
"[S+1]": 33,
|
154 |
+
"[B]": 34,
|
155 |
+
"[Si]": 35,
|
156 |
+
"[=N-1]": 36,
|
157 |
+
"[=P]": 37,
|
158 |
+
"[Se]": 38,
|
159 |
+
"[H]": 39,
|
160 |
+
"[N-1]": 40,
|
161 |
+
"[C-1]": 41,
|
162 |
+
"[#N+1]": 42,
|
163 |
+
"[P+1]": 43,
|
164 |
+
"[OH0]": 44,
|
165 |
+
"[B-1]": 45,
|
166 |
+
"[PH1]": 46,
|
167 |
+
"[S-1]": 47,
|
168 |
+
"[=O+1]": 48,
|
169 |
+
"[=S+1]": 49,
|
170 |
+
"[=Se]": 50,
|
171 |
+
"[NH3+1]": 51,
|
172 |
+
"[C+1]": 52,
|
173 |
+
"[NH1+1]": 53,
|
174 |
+
"[BH2-1]": 54,
|
175 |
+
"[NH2+1]": 55,
|
176 |
+
"[O+1]": 56,
|
177 |
+
"[SeH1]": 57,
|
178 |
+
"[SH1]": 58,
|
179 |
+
"[SiH2]": 59,
|
180 |
+
"[=SH1]": 60,
|
181 |
+
"[=Se+1]": 61,
|
182 |
+
"[=OH1+1]": 62,
|
183 |
+
"[=PH1]": 63,
|
184 |
+
"[#C-1]": 64,
|
185 |
+
"[=NH1+1]": 65,
|
186 |
+
"[=NH2+1]": 66,
|
187 |
+
"[BH3-1]": 67,
|
188 |
+
"[CH1-1]": 68,
|
189 |
+
"[I+1]": 69,
|
190 |
+
"[CH1+1]": 70,
|
191 |
+
"[NH1-1]": 71,
|
192 |
+
"[BH1-1]": 72,
|
193 |
+
"[SiH1]": 73,
|
194 |
+
"[Se+1]": 74,
|
195 |
+
"[=C-1]": 75,
|
196 |
+
"[F+1]": 76,
|
197 |
+
"[=B]": 77,
|
198 |
+
"[=Si]": 78,
|
199 |
+
"[BH0]": 79,
|
200 |
+
"[CH1]": 80,
|
201 |
+
"[CH2+1]": 81,
|
202 |
+
"[Cl+1]": 82,
|
203 |
+
"[NH0]": 83,
|
204 |
+
"[#O+1]": 84,
|
205 |
+
"[Br+2]": 85,
|
206 |
+
"[Br-1]": 86,
|
207 |
+
"[CH2]": 87,
|
208 |
+
"[Cl+2]": 88,
|
209 |
+
"[Cl+3]": 89,
|
210 |
+
"[Cl-1]": 90,
|
211 |
+
"[F-1]": 91,
|
212 |
+
"[I+2]": 92,
|
213 |
+
"[I+3]": 93,
|
214 |
+
"[PH2+1]": 94,
|
215 |
+
"[Se-1]": 95,
|
216 |
+
"[SeH2]": 96,
|
217 |
+
"[Si-1]": 97,
|
218 |
+
"[SiH1-1]": 98
|
219 |
+
},
|
220 |
+
"unk_token": "<UNK>"
|
221 |
+
}
|
222 |
+
}
|