Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

mojo-tokenizers v0.1.1

Latest

Choose a tag to compare

@amarbarosys amarbarosys released this 08 Nov 23:37
· 3 commits to main since this release

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-compiler to 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-compiler run 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

  • b69e3d8 build: bump version to 0.1.1
  • c3f9f09 build: recipe pins mojo-compiler to the build's minor
  • 813319f docs: CHANGELOG names no home path
  • de27937 docs: no home path in the fixture oracle
  • fc4b7d8 chore(license): fill Apache-2.0 copyright notice