Skip to content
#

subword-tokenization

Here are 16 public repositories matching this topic...

Custom BPE tokenizer built from scratch on WikiText-2 (30k vocab). Covers data cleaning, deduplication, HuggingFace tokenizers training, evaluation (compression ratio, UNK-free coverage, consistency), and save/reload as PreTrainedTokenizerFast.

  • Updated Apr 14, 2026
  • Jupyter Notebook

Build, analyze, and visualize a custom Byte Pair Encoding (BPE) tokenizer trained on the WikiText-2 dataset with vocabulary analysis, compression evaluation, and an interactive GitHub Pages demo.

  • Updated Jun 21, 2026
  • HTML

Merge Barriers in BPE Tokenization: How Tokenizer Design Causally Determines Attention Head Specialization. Paper, 23 eval scripts, 86 result files, tokenizer definitions, 4 model checkpoints.

  • Updated Jul 3, 2026
  • Python

Improve this page

Add a description, image, and links to the subword-tokenization topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the subword-tokenization topic, visit your repo's landing page and select "manage topics."

Learn more