Renaissance Labs · Code
Tool

Hugging Face tokenizers

Rust tokenizer library for training BPE, Unigram and WordPiece vocabularies.

How to use it

Train a code-aware BPE on your own mix (whitespace/digit handling matter for code).

Caveats

Tokenizer training data should match final mix, otherwise code merges are poor.

Related

  • Apptainer: HPC container runtime that runs without root; needed on clusters like Berzelius where Docker is unavailable....
  • DCLM (DataComp-LM): Framework and baselines for data curation experiments including fastText quality classifier filtering of web...
  • Data-Juicer: One-stop data processing system with 100+ operators for text, code and multimodal data, including code...
  • Docker (Moby): Container runtime standard for SWE task images; shares the host kernel so isolation is weaker than microVMs....
  • Dolma toolkit: Ai2 data toolkit: fast Rust tagger/mixer, Bloom filter dedup and mixing used for OLMo...
  • E2B: Open-source cloud sandboxes for agents (isolation technology not verified...