Awesome Lists

minbpe

by karpathy

Pythonpushed over 2 years ago

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

AI summary

BPE algorithm

An implementation of the Byte Pair Encoding algorithm used in language model tokenization.

stars
9.3K
forks
871
watching
85
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/karpathy/minbpe/links.svg)](https://awesome.facts.dev/awesome/karpathy/minbpe)
HTML
<a href="https://awesome.facts.dev/awesome/karpathy/minbpe"><img src="https://awesome.facts.dev/shield/karpathy/minbpe/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/karpathy/minbpe/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.