# karpathy/minbpe

<https://repo.masters-masters.com/en/repos/karpathy/minbpe>

[Home](https://repo.masters-masters.com/en) › [karpathy](https://repo.masters-masters.com/en/owners/karpathy) › [minbpe](https://repo.masters-masters.com/en/repos/karpathy/minbpe)

karpathy/minbpe has 11,007 stars on GitHub. Its RepoMasters card: Stable tier. Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in…

| Field | Value |
| --- | --- |
| Owner | [karpathy](https://repo.masters-masters.com/en/owners/karpathy) |
| Stars | 11,007 |
| Forks | 1,151 |
| Language | [Python](https://repo.masters-masters.com/en/languages/python) |
| License | MIT |
| Created | 2024 |
| Tier | [Stable (5,000 to 19,999 ★)](https://repo.masters-masters.com/en/ranks/cult) |
| View on GitHub | [karpathy/minbpe](https://github.com/karpathy/minbpe) |

## Repository

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

The tier for repos with 5,000 to 19,999 ★. Published odds per card pulled: 0.9%. Rarity: Very rare.

## More repos by karpathy

- [karpathy/autoresearch · ★ 99,200 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/autoresearch)
- [karpathy/nanoGPT · ★ 64,440 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/nanoGPT)
- [karpathy/nanochat · ★ 60,219 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/nanochat)
- [karpathy/LLM101n · ★ 37,481 · LTS](https://repo.masters-masters.com/en/repos/karpathy/LLM101n)
- [karpathy/llm.c · ★ 31,385 · Cuda · LTS](https://repo.masters-masters.com/en/repos/karpathy/llm.c)
- [karpathy/llm-council · ★ 26,200 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/llm-council)

## Nearby in Python

- [ValueCell-ai/valuecell · ★ 11,042 · Python · Stable](https://repo.masters-masters.com/en/repos/ValueCell-ai/valuecell)
- [CursorTouch/Windows-MCP · ★ 11,033 · Python · Stable](https://repo.masters-masters.com/en/repos/CursorTouch/Windows-MCP)
- [kkroening/ffmpeg-python · ★ 11,013 · Python · Stable](https://repo.masters-masters.com/en/repos/kkroening/ffmpeg-python)
- [SparkAudio/Spark-TTS · ★ 10,993 · Python · Stable](https://repo.masters-masters.com/en/repos/SparkAudio/Spark-TTS)
- [lengstrom/fast-style-transfer · ★ 10,956 · Python · Stable](https://repo.masters-masters.com/en/repos/lengstrom/fast-style-transfer)
- [blacklanternsecurity/bbot · ★ 10,943 · Python · Stable](https://repo.masters-masters.com/en/repos/blacklanternsecurity/bbot)

---
Data: GitHub · Illustration drawn by RepoMasters from the repo’s ID and its language color.
