報せNews
2026-09-05 報 release. 5 September 2026
kotoshu 0.7.0 ships model tiers and the native extension
The biggest gem release so far brings tiered models with a registry, the native extension, and a conformance-frozen engine.
- The model tiers are
fullat about 120 MB,fluencyat about 15 MB as the new default, andminiat about 3 MB, and they resolve through the models repository’s registry with SHA-256-verified primary, mirror, and vocab downloads.KOTOSHU_MODEL_TIER,setup --model --tier, and a tier-less legacy-cache bridge keep older caches loading. - The optional native extension compiles the Rust core into the gem,
KOTOSHU_BACKEND=ruby|native|autoselects it, and the Ruby and Rust engines agree on all 2,630 frozen conformance vectors. - A confidence cascade skips the ONNX rerank when the composite strategies are already confident — semantic quality where it matters, plain speed where it does not.
- Hunspell correctness: CHECKCOMPOUNDPATTERN replacement support, dot-split casing, INITCAP ngram-root skip, and AF alias flag parsing. The integrational suite runs 176 examples with zero failures.
see also kotoshu 0.7.0 on RubyGems CHANGELOG Model tiers — docs