S30 Logo
S30 AI Labwww.thes30.com
Back
#47

Tokenization Deep Dive

Hard📝 NLP & TransformersW10 D3

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.

Need help? Share feedback