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