Mojourney

amarbaro / mojo-tokenizers

Hugging Face tokenizer.json runtime for Mojo: byte-level BPE (GPT-2, Llama 3, Qwen)

GitHub ↗ · first seen in GH Archive 2026-11-08 (name / language) · 2,865 lines of Mojo in 16 files at the last of 15 commits (2026-11-04 to 2026-11-09) · archived

Stars0as of 2026-11-23
Forks0as of 2026-11-23
Depends on2Mojo libraries, of 3 declared
Used by0census repos that depend on it
Open issues0
Watchers0
Created2026-11-0419 days ago
Lines of Mojo2,86516 files
Commits152026-11-04 to 2026-11-09
Contributors33 new in 2026-11
Mojo version1.2.0from lock file
CategoryML and inferenceapproximate
Toolinguv
Packagingrattler
LicenseApache-2.0

Over time

2026-11-04 to 2026-11-09; 15 commits, counted up by commit date

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

RepoDescriptionSimilarity
oliveagle/tokenizers_mojotokenizers_mojo87%
mempirate/mojobagBPE tokenizer in Mojo85%
atsentia/mojo-tokenizerPure Mojo tokenizer for LLM inference - BPE, tiktoken, HuggingFace compatible84%
olaflaitinen/knapA 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-uregexUnicode-aware regex for Mojo LLM pre-tokenizers, verified against Python regex83%

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 (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-10012023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • 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

People with a commit each month, and the ones with their first, 2026-11 to 2026-11032026-11
  • 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

DateTagNameFromMojo versionCommit
2026-11-08v0.1.1–git tag1.2.0e693f73f9a
2026-11-04v0.1.0–git tag1.2.08146b08e1a

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

#TitleOpenedStateComments
1ci: shared lib-ci workflow, nightly switch2026-11-08merged0

Migrations

DateWhatFromToCommit
2026-11-04mojo_version–1.2.049ff9ef963
2026-11-04toolingnoneuv49ff9ef963
2026-11-04packagingnonerattler8146b08e1a

Commits

Commit types: Feature 27% · Mojo version 7% · Performance 7% · Docs 33% · Build and chores 20% · Merge 7%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-11-09d8bc9cb838Docsdocs: README installs from prefix.dev, toolchains, limits, runnable example2,865uv1.2.0
2026-11-08e693f73f9aMerge +docsMerge pull request #1 from amarbaro/shared-ci2,865uv1.2.0
2026-11-0460052ef39cBuild and choreschore(license): fill Apache-2.0 copyright notice2,865uv1.2.0
2026-11-048146b08e1aBuild and chores +docschore: audit fixes (recipe, badges, release note, quickstart, skill)2,865uv1.2.0
2026-11-044f45ef83b5Build and choreschore: sync vendored src/uregex to mojo-uregex 2ce35f92,860uv1.2.0
2026-11-0446da45cc44Docsdocs: Unigram in README, api, design and perf; bench numbers for 6 tokenizers2,839uv1.2.0
2026-11-04543c9b2748Performanceperf: ASCII fast paths in the BERT normalizer and pre-tokenizer2,839uv1.2.0
2026-11-0432762649b5Featurefeat: Unigram (T5, XLM-R) with Precompiled, Replace, WhitespaceSplit and Metaspace2,824uv1.2.0
2026-11-043eda4ff40cDocsdocs(skills): add mojo-tokenizers skill2,701uv1.2.0
2026-11-046ab3cd9136Docsdocs: ignore .claude, phase 2 notes in the report2,701uv1.2.0
2026-11-04b616c53c36Docs +testsdocs: README, api, design, perf; the example and API test run in the gate2,701uv1.2.0
2026-11-04dda8f7c671Featurefeat: WordPiece with BertNormalizer and BertPreTokenizer (BERT)2,664uv1.2.0
2026-11-04b2296e5035Feature +testsfeat: encode benchmark against the tokenizers crate2,453uv1.2.0
2026-11-044dfdf9f16eFeaturefeat: byte-level BPE from a tokenizer.json, encode and decode2,428uv1.2.0
2026-11-0449ff9ef963Mojo versionchore: scaffold with vendored mojo-json and mojo-uregex2,058uv1.2.0