Why it matters
SentencePiece is popular multilingual tokenizer. Llama, T5 use.
Advertisement
The architecture
Raw text input.
BPE or Unigram.
Byte fallback for OOV.
Advertisement
How it works end to end
Kudo-Richardson 2018.
Llama tokenizer.
T5, mT5.