一篇改分词的论文:AdaBPE 能让 LaTeX 这类跨空格的结构化内容不被切碎,五个数据集上验证了效果。做 tokenizer 或训练模型的可以看看。
#BPE
Tokenization is usually treated as a solved preprocessing step, so the result that streaming tokenizers can hit provably optimal delay reframes a real bottleneck for serving latency, especially time-to-first-token. Teams building inference infrastructure can swap in this algorithm without changing tokenizer semantics, since it works with tiktoken and HuggingFace vocabularies. The lower-bound proof also signals that further constant-factor gains are unlikely, which narrows where optimization effort should go.
研究者拿德语 ASR 做了 40 次微调实验,发现小词表时按音节切分能扛住方言和口语场景,做多语言语音的可以看看选词表的思路。
59.8K 星的开源课程,不调 API,从线性代数手写到 DeepSeek-V3 架构和多智能体,学完还能攒下 523 个作品,特别适合想搞懂底层原理的人。
This research provides concrete guidance for building more effective tokenisers, which is crucial for improving the efficiency and performance of large language models.
想给模型加新语言但不想从头训?这篇论文的原地分词器扩展办法,让LFM2.5在印地语和越南语上token数砍半,解码快3倍,代码和权重都开源了。
做多语言NLP或印度语AI应用的团队终于有了一个不牺牲英语和代码性能的专用分词器——直接替换o200k_base就能获得印度语26.7%的token节省,建议做LLM训练或推理优化的开发者试试。