What is the 'unigram language model' tokenization algorithm used in SentencePiece?
-
A
An algorithm that always picks the longest matching token from the vocabulary
-
B
A probabilistic approach that finds the tokenization maximizing the likelihood under a unigram language model, iteratively pruning the vocabulary
-
C
An algorithm that splits text on every space and punctuation character
-
D
A method that assigns equal probability to all possible tokenizations