BERT’s tokenizer: take the longest piece of the vocabulary that fits, mark the pieces inside a word with ##, and give up with [UNK] when nothing fits.
This interactive visualization needs JavaScript.