GitHub repository
karpathy/minbpe
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
Repository metrics
- Stars · Nov 15, 2026
- 10,319
- Leaderboard status
- Outside the current top 1,000
Language Python
Source: GitHubLB snapshots.