minbpe

(★ 10,679)

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

minbpe Latest Version Download

Download Latest Version (.zip)
// repository documentation