Learned n-grams compress indexing to group tokens like chars into words

antirez · x · 2026-08-30

N-grams operate at a higher level similar to grouping characters into words (e.g., 'apple'). Since bi- and trigrams are too numerous, a compressing hashing is used for indexing.

Related event: antirez: Qwen 3.8 Flash Next's 51B N-gram Table Could Be Best Local Inference Option on 64GB Macs(7 posts)→

Original post →

More from Research

Research channel →