Tag: tokenization
All the articles with the tag "tokenization".
Byte-Pair Encoding: How Text Becomes Tokens, One Merge at a Time
Updated:A byte-level BPE tokenizer built from scratch and traced merge by merge: UTF-8 bytes, GPT-2's pre-tokenizer, training by count and encoding by rank, special tokens, the file format, a trainer made fast without changing a merge, 2.2 GB of stories, and what a tokenizer charges Vietnamese.