Tokenizes UTF-8 text with the model's vocabulary.
add BOS/EOS as the model requires.
parse control tokens written as text.