Back to News

Bytepiece 0.8.0: Upgraded Unigram Tokenizer Claims Higher Compression and Faster Training Than BPE

#tokenizer#unigram#bpe#nlp

Su Jianlin announced Bytepiece 0.8.0, an upgraded Unigram tokenizer that, under his BNLM training algorithm, reportedly achieves higher compression and faster training than BPE. The original BytePiece, released three years ago, was inefficient in implementation, but with AI assistance the code has been significantly improved. The update is available on GitHub.

Coverage timeline

  1. 科学空间 (苏剑林)苏剑林

    从算法上来看,常用的Tokenizer可以分为BPE和Unigram两种。当前的主流无疑是BPE,大体上是因为在主流实现上(比如 SentencePiece ),BPE的压缩率通常更高。然而,我们三年前的 BytePiece 已经否定了这个结果,在笔者所提的BNLM训练算法上,Unigram有着比BPE更高的压缩率和更快的训练速度! 不过,受限于笔者的编程能力,当年BytePiece的实现本身还是很低效的,没能推动Unigram的普及。现在有了AI,编程自然不是困难了,所以这两天“一时兴起”,决定让Kimi好好升级一下BytePiece。 Github: https://github.com/bojone/bytepiece [...]

Related stories

  • Z.ai launches GLM-5.4, first Loop Transformer flagship with 750B parameters

    Chinese AI lab Z.ai released GLM-5.4, its first flagship model built on a Loop Transformer architecture, which runs weight-shared layers multiple times per forward pass to deepen the network without increasing parameter count. The 750B-parameter model reportedly achieves intelligence levels comparable to 2T-3T models, with new native vision capabilities, 1M context length, and expanded 'generalized coding' abilities. It is available to GLM Coding Plan users and on coding platforms like ZCode, Trae, WorkBuddy, and Qoder, with API access pending safety review and open-weight release planned.

    7 reports · 6 sources1179 points · 386 comments
  • ByteDance releases Seedream 5.5 image model with faster generation, transparent assets

    ByteDance released Seedream 5.5, an image generation model now live in Doubao, Doubao Work, and Jimeng, with API coming to Volcano Ark. The model offers faster generation, improved multi-round editing stability (maintaining pixel-level consistency outside edited regions over 100+ rounds), native RGBA transparent asset generation, and enhanced realism and small-text rendering. API pricing continues the two-part structure (input image + output image) with no text token fees; a 2K square image edit costs about 0.28 yuan, less than half of Seedream 5.0 Pro.

    2 reports · 2 sources
  • Thinking Machines releases open-weights Inkling 2 Mini, a 26.4B looped transformer

    Thinking Machines Lab released Inkling 2 Mini, an open-weights 26.4B-parameter multimodal transformer that loops its middle layers three times per token, with 5.4B active parameters and a 1M-token context window. vLLM announced day-0 support, and Artificial Analysis reports it matches Qwen3.8 27B on its Intelligence Index with about 5x fewer active parameters.

    4 reports · 3 sources
  • ByteDance and partners release Axion 1.0, a two-stage SFT+RL agent model

    Researchers from Duke University, ByteDance, University of Maryland, and University at Buffalo released Axion 1.0, an open-source agent model trained with a simple two-stage supervised fine-tuning (SFT) and reinforcement learning (RL) pipeline, without mid-training, DPO, or online policy distillation. The 122B version scored 59.0% on the full Humanity's Last Exam (HLE) benchmark and 66.7% on FrontierScience Research; the 35B version scored 62.2% on SEAL-0. The team open-sourced data construction, generation, filtering, validation, prompts, and training code.

    1 reports · 1 sources

News updates every hour. Subscribe in your RSS reader to get new stories automatically.

Subscribe