genlm-bytes: byte-level SMC enables ensembling LMs with different tokenizers

xtimv · x · 2026-12-07

Since the ensemble is a distribution over strings rather than token sequences, it need not require a shared tokenizer: run SMC over the shared byte-string space using genlm-bytes, a new Apache-2.0 Python library converting token-level LMs into byte-level ones. Still under active development with possible breaking changes.

Related event: genlm-bytes: Open-Source SMC for Cross-Tokenizer LM Ensembles(2 posts)→

Original post →

More from Research

Research channel →