Independent project. Not a U.S. government website.

Support our project (opens Buy Me a Coffee)
USASI
Generated violet flowing-wave artwork for karpathy/minbpe, labeled USASI · AI on GitHub, with Personal account · Python · MIT.
Rank #747 10,831 starsPython

minbpe

by karpathy (personal account)

Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization. (description from the project’s GitHub page)

Repository facts

Stars
10,831
Forks
1,118
Open issues and pull requests
59
Primary language
Python
License
MIT License (MIT)
Owner
karpathy · Personal account
Created
Feb 16, 2024
Last push
Jul 1, 2024

Rank #747 of 9,507 in AI on GitHub, by stars. Data from the GitHub API, fetched Oct 18, 2026; star counts change daily. Stars measure popularity, not quality or safety, and a listing is not an endorsement. How this list is made

Add this badge to your README

Ranked #747 in AI on GitHubShows this repository’s rank in AI on GitHub and links back to this page. Ranks are by stars and change when the list is refreshed. The badge is not an endorsement or a rating. About the badges

Markdown (for a README)

[![Ranked #747 in AI on GitHub](https://unitedstatesofamericasuperintelligence.com/badges/github/karpathy--minbpe.svg)](https://unitedstatesofamericasuperintelligence.com/github/karpathy--minbpe/)

HTML

<a href="https://unitedstatesofamericasuperintelligence.com/github/karpathy--minbpe/"><img src="https://unitedstatesofamericasuperintelligence.com/badges/github/karpathy--minbpe.svg" alt="Ranked #747 in AI on GitHub" height="20"></a>

Support Us

Help keep USASI useful.

Optional. No USASI account required. Payment takes place on the linked provider’s website (Buy Me a Coffee).

About supporting this project