From-scratch BPE tokenizer implementation in C++ with UTF-8 support including emojis.