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 Dissects Qwen 3.8 Flash Next: SSD-Resident n-grams Enable Local Inference on 64GB Macs(10 posts)→

Original post →

More from Research

Research channel →