Note that V contains 4 special tokens: * is the padding token used to enforce the same length of all SMILES, ˆis the starting token, $ the ending token, and <UNK> is the unknown token used at inference time if a new token is observed. We constructed V from D which contains 455 different tokens. Figure shows an example of the SMILES string tokenization procedure.