karpathy / minbpe

Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
9,168Updated 4 months ago

Related projects

Alternatives and complementary repositories for minbpe