Skip to content

Library / Framework · Rust

rustbpe

The missing tiktoken training code

Not ranked yet

This project would rank 47th in NLP & LLMs.

Only verified builders' projects are ranked. Is this yours? Claim @karpathy's Atlas with a read-only GitHub sign-in and it takes its place on the board.

Claim to rank it

What it is

rustbpe is a Rust library for training Byte Pair Encoding (BPE) tokenizers with Python bindings, designed to export trained tokenizers to the tiktoken format for efficient inference. It implements the BPE training algorithm from scratch with parallel processing and provides correctness-verified reference implementations.

Scored atddf848f7 Oct 2026Changes since

Merit describes the code at this commit. Later pushes count once the owner rescans. How merit is scored

Tests, level by level

From the files read and your CI on GitHub

  1. Tests exist: yes.1 test file in the repository.
  2. Can run as committed: yes.No missing imports in the test files read.
  3. CI runs them: yes.The whole suite: pytest tests/python/ -v
  4. They pass: not checked.Not checked at this scan. AI-Atlas never runs code; it reads the result of your own CI at the next scan.

Distribution based on AI work

1 / 2
NLP & LLMs: 100.0%
  • NLP & LLMs100%

Each field's share of the project's AI work, as scoring counts it. It ranks in the field it is most about.

What the judge found

Read from the project's code at its scored commit.

Strengths4

  • Fast training with parallel processing (Rayon)
  • Correct implementation verified against reference implementations
  • Clean export to tiktoken for efficient inference
  • Well-tested with CI passing

Limitations

The owner keeps this project's limitations private.

Where it would sit on the NLP & LLMs board

Whole board
  1. 44, shared rankllmastsearchAI Developer Tool · Rust62.0/100AdvancedLuiz Cesar Spies
  2. 44, shared rankvid-factoryML Application · JavaScript62.0/100AdvancedJarad Peckenpaugh
  3. 47, shared rankaiprojAI Developer Tool · Python61.7/100AdvancedJames
  4. 47, shared ranksub-zeroAI Developer Tool · Python61.7/100AdvancedRick
  5. 47, shared rankrustbpeLibrary / Framework · Rust61.7/100AdvancedAndrej

More from Andrej