This repository was archived by the owner on Nov 22, 2026. It is now read-only.
Repository navigation
mojo-tokenizers v0.1.1
Released: 2026-11-08 · Commit: b69e3d8 · Previous: v0.1.0
What it does
A Hugging Face tokenizer.json runtime for Mojo: byte-level BPE (GPT-2, Llama 3, Qwen), WordPiece with BertNormalizer (BERT) and Unigram with a
Precompiled normalizer (T5, XLM-R). Tokenizer(path), encode(text), decode(ids); ids equal the Python tokenizers crate's. Mojo 1.2 on Linux;
src/json and src/uregex are vendored, so a clone builds with mojo run -I src.
Highlights
- Packaging only: the conda recipe pins
mojo-compilerto the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on.
Changes
Changed
recipe.yaml:mojo-compilerrun dependency pinned to the build's minor (<1.3.0a0).
Verified
| Check | Result |
|---|---|
pkg-conda dry run on the version commit (H1-H3,H6) |
NOT RUN: blocked, a dependency is not on a channel yet (H7); recipe-only change |
Known limits
- Packages are built on one Mojo minor only; see the package protocol.
Upgrade / run
None: no API change.
Commits
b69e3d8build: bump version to 0.1.1c3f9f09build: recipe pins mojo-compiler to the build's minor813319fdocs: CHANGELOG names no home pathde27937docs: no home path in the fixture oraclefc4b7d8chore(license): fill Apache-2.0 copyright notice