Show HN: Chopper, a tiny edge model that keeps only useful text in 50 ms
Category: ai-ml
Tags: rag, context-compression, text-selection, multi-hop-qa, encoder-model
Score: 7.0/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 6)
Chopper is a small encoder (mmBERT, 0.31B) that acts as a context compressor for RAG: it reads the question and retrieved passages together in a single pass and marks each token as keep or drop, outputting exact quoted fragments. It achieves ~50ms per question on a consumer GPU and improves multi-hop question answering by Qwen3-14B from 12% to 29% on 4-hop MuSiQue while cutting prompt tokens by 11×, with comparisons against LLMLingua-2, Provence, and Claude Opus 5.5.
Target audience: AI/ML engineers and researchers building RAG systems
Repository: https://github.com/wiiiktor/chopper_demo · Python · MIT · 1 stars
View on Hacker News