Let's build the GPT Tokenizer
Watch on YouTubeThis source introduces the tokenizer as a necessary and pervasive component of large language models that translates between strings and tokens (text chunks). Karpathy frames tokenizers as a completely separate stage of the LLM pipeline with their own training sets and training algorithm, Byte Pair Encoding. The provided excerpt is truncated, so only this framing is available.
- The tokenizer translates between strings and tokens, which are text chunks. - Tokenizers are a necessary and pervasive component of LLMs. - Tokenizers are a completely separate stage of the LLM pipeline. - Tokenizers have their own training sets. - Tokenizers are trained with their own algorithm, Byte Pair Encoding.
Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.
Quotes from this video
“Tokenizers are a completely separate stage of the LLM pipeline:”