Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
Primary LanguagePythonMIT LicenseMIT