Mojourney

atsentia / mojo-tokenizer

Pure Mojo tokenizer for LLM inference - BPE, tiktoken, HuggingFace compatible

GitHub ↗ · first seen in GH Archive 2026-01-09 (name / language) · 8,299 lines of Mojo in 39 files at the last of 15 commits (2026-01-02 to 2026-01-09)

Stars6as of 2026-11-23
Forks3as of 2026-11-23
Depends on0Mojo libraries, of 0 declared
Used by0census repos that depend on it
Open issues0
Watchers0
Created2026-01-0210 months ago
Lines of Mojo8,29939 files
Commits152026-01-02 to 2026-01-09
Contributors22 new in 2026-01
Mojo version24.6from manifest
CategoryML and inferenceapproximate
Toolingpixi
Packagingnone
LicenseApache-2.0

Over time

2026-01-02 to 2026-01-09; peak 8,299 lines

Similar repos

RepoDescriptionSimilarity
shreyanshtiwari02/mojo-inference-engineMini neural net / LLM inference engine in Mojo from scratch — naive CPU phase (Tensor, dot, matmul, linear, ReLU, softmax)91%
jaher/llm-mojoA from-scratch rewrite of vLLM + SGLang's inference stack in pure Mojo91%
mempirate/mojobagBPE tokenizer in Mojo89%
Terapines/llm.mojoUsing mojo to implement llm88%
attilio-castano/llm-mojoLLM inference from first principles in Mojo on Apple Silicon: GPU kernels, a serving engine, reproducible studies, and compile-time correctness checks.87%

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-10022023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • stars
  • forks

2 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-01 to 2026-01022026-01
  • contributors
  • new

2 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-01-07v0.5.0–git tag24.6dd6b417c42
2026-01-06v0.4.0–git tag24.65f0779943d
2026-01-06v0.3.1–git tag24.6030ff09cbd
2026-01-06v0.3.0-tiktoken-bpe-docs–git tag–66bf358d11
2026-01-06v0.3.0-tiktoken-bpe–git tag–e2e3b21b5e
2026-01-02v0.2.0–git tag24.633f3e83736
2026-01-02v0.1.0–git tag24.6cc7d5fe7fa

Migrations

DateWhatFromToCommit
2026-01-02mojo_version–24.6cc7d5fe7fa
2026-01-02toolingnonepixicc7d5fe7fa

Commits

Commit types: Feature 47% · Fix 7% · Mojo version 7% · Performance 7% · Docs 27% · Tests 7%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-01-09515f44be84Docsdocs: Update README with latest benchmarks, make concise8,299pixi24.6
2026-01-09812c4d5c7fFeature +docsfeat: Add HuggingFace BPE validation tests and fix pretokenize bug8,299pixi24.6
2026-01-09947f89a602Featurefeat: Add o200k_base (GPT-4o) vocabulary support7,487pixi24.6
2026-01-096f6d0bb6f0Teststest: Add tokenizer validation suite7,355pixi24.6
2026-01-07dd6b417c42Featurefeat: O(n) direct backtracking encoder - 13.2M tok/s (86% of rs-bpe)7,355pixi24.6
2026-01-06e8592f9227Feature +docsfeat: Phase 4 SIMD word boundary detection6,182pixi24.6
2026-01-065ac2b289f5Docsdocs: Phase 2 byte trie not viable - algorithm mismatch6,030pixi24.6
2026-01-06460e76a7f2Featurefeat: Phase 2 infrastructure - ByteTrie for direct token lookup (disabled)6,035pixi24.6
2026-01-065f0779943dFeature +docsfeat: v0.4.0 Phase 1 - Zero-allocation core achieves 6.2M tok/s5,687pixi24.6
2026-01-061000dd36cbDocsdocs: Update README with v0.3.1 performance improvements5,514pixi24.6
2026-01-06030ff09cbdPerformanceperf: Fix LRU cache eviction bottleneck for 256x speedup5,514pixi24.6
2026-01-03c38d58cbffFix +docsfix: Mojo 25.4.0 compatibility and HuggingFace merge format5,514pixi24.6
2026-01-02b768685515Docsdocs: Update README for v0.2.0 features and add chat template example4,946pixi24.6
2026-01-0233f3e83736Featurefeat: Complete tokenizer infrastructure with caching and templates4,870pixi24.6
2026-01-02cc7d5fe7faMojo version +tests +docsfeat: Initial mojo-tokenizer foundation1,155pixi24.6