{"library":{"repo":"mempirate/mojobag","description":"BPE tokenizer in Mojo","created_at":"2026-08-30T15:51:25Z","first_seen":"2026-09-07T10:21:35Z","found_by":"name / language","stars":0,"forks":0,"license":"","size_kb":88,"commits":23,"mojo_lines":1114,"mojo_files":8,"tooling":"pixi","packaging":"none","mojo_version":"1.0.0","version_source":"lock","version_file":"","version_estimate":"1.0","version_estimate_source":"date","topics":["bpe","llm","mojo","tokenization"],"stats_as_of":"2026-11-23","open_issues":0,"watchers":0,"archived":false,"state":"ok","renamed_to":"","aliases":[],"declared_deps":4,"depends_on":[],"used_by":[],"used_by_forks":[],"second_degree":[],"dependencies":["git-lfs","pcre2","samply","unzip"],"category":"ml"},"migrations":[{"at":"2026-08-30T15:50:17Z","sha":"55506500bbbf00ddd0c1a372c058787edd40ad40","kind":"mojo_version","from":"","to":"1.0.0"},{"at":"2026-08-30T15:50:17Z","sha":"55506500bbbf00ddd0c1a372c058787edd40ad40","kind":"tooling","from":"none","to":"pixi"}],"commits":[{"at":"2026-08-30T15:50:17Z","sha":"55506500bbbf00ddd0c1a372c058787edd40ad40","mojo_lines":310,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: initial commit","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-08-31T07:29:06Z","sha":"ff65895381f8d1425e0bada25e8b1017e376ee86","mojo_lines":310,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: preallocate dirty list, get rid of Optional","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-08-31T08:23:08Z","sha":"346826f460ba6f610043bff3b63818ba6b49840f","mojo_lines":374,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: store top modified candidates in a max-heap","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-02T10:36:58Z","sha":"6f86d05f078416f415b429ccc2c5ca900987bc47","mojo_lines":742,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: new approach baseline","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-02T18:42:43Z","sha":"724d541f655c57c47eb38ffe928678921b8b6bb4","mojo_lines":913,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: optimize top pair search with a heap","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-02T19:06:38Z","sha":"1ca03324ed36d066ba9198c012a7ee35e8d78775","mojo_lines":918,"tooling":"pixi","mojo_version":"1.0.0","subject":"fix: don't stop merging at freq < 2","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T09:28:22Z","sha":"94c1cb9b9cdbb86b332075af14f351aa539ebdc1","mojo_lines":948,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: consolidate 2 word passes during merge into 1","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T09:31:43Z","sha":"feaa7c5c90cd61552e0739ee36780337e103abd5","mojo_lines":950,"tooling":"pixi","mojo_version":"1.0.0","subject":"fix: build new word","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T10:37:05Z","sha":"dd62290da12312d9a39cdc03e54d60ad7143d9f2","mojo_lines":963,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: only recount deltas","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T11:04:20Z","sha":"8acc6cb9d163c5ce03d214834e1ca4a2735f2879","mojo_lines":964,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: optimize count_word","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T16:00:35Z","sha":"b89b85507f5996fe779da6de333db0566050c96d","mojo_lines":985,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: various improvements","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T09:37:44Z","sha":"e2c31146ec39a033a0cf5797baf3448c1713854f","mojo_lines":743,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: new word abstraction","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T12:53:36Z","sha":"8bb40816de442776395961945f4b548204be02e4","mojo_lines":812,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: separate tokenizer","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T14:02:53Z","sha":"b23663210d5b02ebf5b1341676972b1d70f1060c","mojo_lines":824,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: optimize pretokenization allocations","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T14:17:39Z","sha":"822e921467d51af537cae7797a08b98e60ef9f1c","mojo_lines":824,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: replace word dicts with lists","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T14:23:59Z","sha":"a2f192e0615801022efea33bc8381a36dd086caf","mojo_lines":828,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: Apple Silicon support","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T14:26:58Z","sha":"dcd31255ac21e3f05fc80597a25feaa3a5b4f187","mojo_lines":836,"tooling":"pixi","mojo_version":"1.0.0","subject":"fix(pcre2): fallback to non JIT variants if unavailable","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T14:38:58Z","sha":"7427808a75c786da50f7021920c5d22d09ccfd00","mojo_lines":831,"tooling":"pixi","mojo_version":"1.0.0","subject":"refactor: cleanup","type":"refactor","secondary":[],"typed_by":"rules"},{"at":"2026-09-05T15:49:53Z","sha":"d8b942ca57351bb6b18840fb5df0385668d07528","mojo_lines":833,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: remove stale reverse index for 0 pair counts","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-05T15:58:29Z","sha":"65e87c2136931b27ac190e6b01d9a919dc6e57db","mojo_lines":858,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: use a nil hasher for initial word counting","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-07T09:57:31Z","sha":"71b40fab17272800247658c2720f46290c7da948","mojo_lines":1088,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: mmap corpus file","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-07T10:00:30Z","sha":"81b6bd4c55c78e19c3d9051b1ee35be6103fb297","mojo_lines":1094,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat: validate corpus file","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-07T10:21:28Z","sha":"b25e74565eaa5f3859d89fc0606f1487dd709be1","mojo_lines":1114,"tooling":"pixi","mojo_version":"1.0.0","subject":"perf: small improvements","type":"perf","secondary":[],"typed_by":"rules"}],"activity":[{"month":"2026-09","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":1,"days_active":1}],"releases":[],"issues":{"open_issues":0,"closed_issues":0,"open_prs":0,"merged_prs":0,"closed_prs":0,"recent_open_issues":[],"recent_prs":[]},"contributors":{"total":1,"months":[{"month":"2026-08","active":1,"new":1},{"month":"2026-09","active":1,"new":0}]},"over_time":{"lines_of_mojo":1114,"commits":{"total":23,"months":[{"month":"2026-08","commits":3,"cumulative":3},{"month":"2026-09","commits":20,"cumulative":23}]},"issues":null},"similar":[{"repo":"Ahajha/mojo-parser","score":0.90567875},{"repo":"Terapines/llm.mojo","score":0.89816624},{"repo":"ratulb/simple_bpe","score":0.8955677},{"repo":"atsentia/mojo-tokenizer","score":0.88650626},{"repo":"phomola/mojolibs","score":0.88597083}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}