Skip to content

bpe

1 free resource on this topic. Everything here is free and hand-picked. You can also search within this topic.

Sebastian Raschka / GitHub
Free
Tool
AI & Assistive Tools

Byte-Pair Encoding (BPE) Tokenizer Implementation from Scratch (GitHub)

Published
2026-11-15

Open-source Jupyter notebook and Python reference implementing Byte-Pair Encoding (BPE) tokenization from scratch alongside tiktoken comparisons.

In plain terms: Open-source Jupyter notebook and Python reference implementing Byte-Pair Encoding (BPE) tokenization from scratch alongside tiktoken comparisons.

From the site: Open-source Jupyter notebook and Python reference implementing Byte-Pair Encoding (BPE) tokenization from scratch alongside tiktoken comparisons.

Why I recommend it: Great hands-on code notebook for understanding how text is split into subword tokens before entering a language model.

#tokenizers#bpe#open-source#python#github
Sebastian Raschka / GitHubAdded Nov 16, 2026Details →