Issue 2026-10-21 · Industry · 研究 · 开源

Specializing SLM vocabularies can cut inference cost by 77%

Specializing SLM vocabularies can cut inference cost by 77%

A preview of the VocabX paper shows that rebuilding the Qwen3-4B vocabulary for a single domain and output format can greatly cut inference cost. In a Portuguese essay-grading system, the method designed the vocabulary around token cost rather than frequency; with the same base model, data and training recipe, measured inference cost fell 77%, while shrinking the roughly 151,669-entry vocabulary scored at each generated token.

Hugging Face Blog9 h ago
Read original ↗