Skip to main content
Search

# Tokenizer

1 related articles

Subscribe to updates
  1. VocabX rebuilds a small model's vocabulary around token cost, cutting measured inference cost 77% on a Portuguese essay grader while its bench score rises from 0.703 to 0.810

    Small models specialized for one domain usually inherit the multilingual vocabulary of a general base model, so domain text is split into many pieces and every generated token scores tens of thousands of entries the task never uses. Dharma-AI's VocabX changes the selection criterion from token frequency to inference cost weighted by field, rebuilding sub-word segmentation while merging repeated spans into macro tokens. On a Portuguese essay grader built on Qwen3-4B, with the same base model, data and training recipe, average response length fell from 350 to 101 tokens, measured inference cost dropped 77.0%, and the bench score rose from 0.703 to 0.810.

You’re all caught up