amarbaro / mojo-tokenizers
Hugging Face tokenizer.json runtime for Mojo: byte-level BPE (GPT-2, Llama 3, Qwen)
Over time
2026-11-04 to 2026-11-09; peak 2,865 lines
2026-11-04 to 2026-11-09; 15 commits, counted up by commit date
- Opened 1
- Closed or merged 1
2026-11-08 to 2026-11-08; 1 issues and pull requests opened (0 issues, 1 pull requests), from GitHub by mojo_issues
Dependencies
Depends on amarbaro/mojo-json, amarbaro/mojo-uregex.
Declared in its manifests at HEAD (toolchain left out): mojo-json, mojo-uregex, tokenizers.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| oliveagle/tokenizers_mojo | tokenizers_mojo | 87% |
| mempirate/mojobag | BPE tokenizer in Mojo | 85% |
| atsentia/mojo-tokenizer | Pure Mojo tokenizer for LLM inference - BPE, tiktoken, HuggingFace compatible | 84% |
| olaflaitinen/knap | A byte level BPE tokenizer written from scratch in pure Mojo. Implements the seven encodings OpenAI models use, runs with no Python interpreter in the process, and publishes its evidence: 191.7 million tokens and every token id checked against the reference implementation. | 83% |
| amarbaro/mojo-uregex | Unicode-aware regex for Mojo LLM pre-tokenizers, verified against Python regex | 83% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
3 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2026-11-08 | v0.1.1 | – | git tag | 1.2.0 | e693f73f9a |
| 2026-11-04 | v0.1.0 | – | git tag | 1.2.0 | 8146b08e1a |
Issues and pull requests
0 open and 0 closed issues; 0 open, 1 merged and 0 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 1 | ci: shared lib-ci workflow, nightly switch | 2026-11-08 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-11-04 | mojo_version | – | 1.2.0 | 49ff9ef963 |
| 2026-11-04 | tooling | none | uv | 49ff9ef963 |
| 2026-11-04 | packaging | none | rattler | 8146b08e1a |
Commits
Commit types: Feature 27% · Mojo version 7% · Performance 7% · Docs 33% · Build and chores 20% · Merge 7%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-11-09 | d8bc9cb838 | Docs | docs: README installs from prefix.dev, toolchains, limits, runnable example | 2,865 | uv | 1.2.0 |
| 2026-11-08 | e693f73f9a | Merge +docs | Merge pull request #1 from amarbaro/shared-ci | 2,865 | uv | 1.2.0 |
| 2026-11-04 | 60052ef39c | Build and chores | chore(license): fill Apache-2.0 copyright notice | 2,865 | uv | 1.2.0 |
| 2026-11-04 | 8146b08e1a | Build and chores +docs | chore: audit fixes (recipe, badges, release note, quickstart, skill) | 2,865 | uv | 1.2.0 |
| 2026-11-04 | 4f45ef83b5 | Build and chores | chore: sync vendored src/uregex to mojo-uregex 2ce35f9 | 2,860 | uv | 1.2.0 |
| 2026-11-04 | 46da45cc44 | Docs | docs: Unigram in README, api, design and perf; bench numbers for 6 tokenizers | 2,839 | uv | 1.2.0 |
| 2026-11-04 | 543c9b2748 | Performance | perf: ASCII fast paths in the BERT normalizer and pre-tokenizer | 2,839 | uv | 1.2.0 |
| 2026-11-04 | 32762649b5 | Feature | feat: Unigram (T5, XLM-R) with Precompiled, Replace, WhitespaceSplit and Metaspace | 2,824 | uv | 1.2.0 |
| 2026-11-04 | 3eda4ff40c | Docs | docs(skills): add mojo-tokenizers skill | 2,701 | uv | 1.2.0 |
| 2026-11-04 | 6ab3cd9136 | Docs | docs: ignore .claude, phase 2 notes in the report | 2,701 | uv | 1.2.0 |
| 2026-11-04 | b616c53c36 | Docs +tests | docs: README, api, design, perf; the example and API test run in the gate | 2,701 | uv | 1.2.0 |
| 2026-11-04 | dda8f7c671 | Feature | feat: WordPiece with BertNormalizer and BertPreTokenizer (BERT) | 2,664 | uv | 1.2.0 |
| 2026-11-04 | b2296e5035 | Feature +tests | feat: encode benchmark against the tokenizers crate | 2,453 | uv | 1.2.0 |
| 2026-11-04 | 4dfdf9f16e | Feature | feat: byte-level BPE from a tokenizer.json, encode and decode | 2,428 | uv | 1.2.0 |
| 2026-11-04 | 49ff9ef963 | Mojo version | chore: scaffold with vendored mojo-json and mojo-uregex | 2,058 | uv | 1.2.0 |