Mojourney

mempirate / mojobag

BPE tokenizer in Mojo

GitHub ↗ · first seen in GH Archive 2026-09-07 (name / language) · 1,114 lines of Mojo in 8 files at the last of 23 commits (2026-08-30 to 2026-09-07)

Stars0as of 2026-11-23
Forks0as of 2026-11-23
Depends on0Mojo libraries, of 4 declared
Used by0census repos that depend on it
Open issues0
Watchers0
Created2026-08-302 months ago
Lines of Mojo1,1148 files
Commits232026-08-30 to 2026-09-07
Contributors1commit authors, bots left out
Mojo version1.0.0from lock file
CategoryML and inferenceapproximate
Toolingpixi
Packagingnone
License–

Over time

2026-08-30 to 2026-09-07; 23 commits, counted up by commit date

Dependencies

Declared in its manifests at HEAD (toolchain left out): git-lfs, pcre2, samply, unzip.

Similar repos

RepoDescriptionSimilarity
Ahajha/mojo-parserParser for Mojo, in Mojo91%
Terapines/llm.mojoUsing mojo to implement llm90%
ratulb/simple_bpeA simple BPE tokenizer implementation Mojo90%
atsentia/mojo-tokenizerPure Mojo tokenizer for LLM inference - BPE, tiktoken, HuggingFace compatible89%
phomola/mojolibsUtils for Mojo89%

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-08 to 2026-09012026-082026-09
  • contributors
  • new

1 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

No releases or tags

No published release in the GH Archive days loaded, and no git tag in the clone.

Migrations

DateWhatFromToCommit
2026-08-30mojo_version–1.0.055506500bb
2026-08-30toolingnonepixi55506500bb

Commits

Commit types: Feature 39% · Fix 13% · Mojo version 4% · Refactor 4% · Performance 39%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-09-07b25e74565ePerformanceperf: small improvements1,114pixi1.0.0
2026-09-0781b6bd4c55Featurefeat: validate corpus file1,094pixi1.0.0
2026-09-0771b40fab17Feature +testsfeat: mmap corpus file1,088pixi1.0.0
2026-09-0565e87c2136Performanceperf: use a nil hasher for initial word counting858pixi1.0.0
2026-09-05d8b942ca57Featurefeat: remove stale reverse index for 0 pair counts833pixi1.0.0
2026-09-047427808a75Refactorrefactor: cleanup831pixi1.0.0
2026-09-04dcd31255acFixfix(pcre2): fallback to non JIT variants if unavailable836pixi1.0.0
2026-09-04a2f192e061Featurefeat: Apple Silicon support828pixi1.0.0
2026-09-04822e921467Performanceperf: replace word dicts with lists824pixi1.0.0
2026-09-04b23663210dPerformanceperf: optimize pretokenization allocations824pixi1.0.0
2026-09-048bb40816deFeaturefeat: separate tokenizer812pixi1.0.0
2026-09-04e2c31146ecFeaturefeat: new word abstraction743pixi1.0.0
2026-09-03b89b85507fPerformanceperf: various improvements985pixi1.0.0
2026-09-038acc6cb9d1Performanceperf: optimize count_word964pixi1.0.0
2026-09-03dd62290da1Featurefeat: only recount deltas963pixi1.0.0
2026-09-03feaa7c5c90Fixfix: build new word950pixi1.0.0
2026-09-0394c1cb9b9cFeaturefeat: consolidate 2 word passes during merge into 1948pixi1.0.0
2026-09-021ca03324edFixfix: don't stop merging at freq < 2918pixi1.0.0
2026-09-02724d541f65Performanceperf: optimize top pair search with a heap913pixi1.0.0
2026-09-026f86d05f07Featurefeat: new approach baseline742pixi1.0.0
2026-08-31346826f460Performanceperf: store top modified candidates in a max-heap374pixi1.0.0
2026-08-31ff65895381Performanceperf: preallocate dirty list, get rid of Optional310pixi1.0.0
2026-08-3055506500bbMojo versionfeat: initial commit310pixi1.0.0