Before You Start
- Required knowledge
- String processing, token counts, probability, and basic dynamic programming.
- Libraries used
- NumPy
- Dataset and source
- An embedded teaching corpus used to learn toy subword vocabularies.
- Expected output
- BPE, WordPiece-style and unigram tokenization comparisons, including token lengths.