Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
Use simple code to convert text into tokens for processing in language models.
Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.
Get an email alert on its next release or when it starts trending — never miss the moment.
Free · no card · unsubscribe anytimeMinimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
minbpe has 10.7k stars on GitHub. It has been forked 1.1k times. minbpe is written mainly in Python. It has been in active development since 2024. minbpe is available under the MIT license.
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
minbpe is an open-source project. It is released under the MIT license.
Yes. minbpe is free and open source — you can use, modify and self-host it.
minbpe is available under the MIT license.
minbpe is written mainly in Python.
Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.
[](https://olud.ai/project/karpathy-minbpe.html)