Analysis finds Qwen 4's n-gram embedding table is barely uniformly used

teortaxesTex · x · 2026-12-05

shinboson's quick analysis of Qwen 4's n-gram embedding table suggests the high-precision table can be kept essentially for free: pin the top 10% most-used rows in memory and stream the rest.

teortaxesTex adds that the table isn't uniformly utilized — a tiny share of rows likely 'cheat' at general language prediction, effectively boosting average token length, which he says is natural given no load balancing is applied. Unofficial reverse-engineering, not yet confirmed.

Original post →

More from Models

Models channel →