models
models copied to clipboard
SuperCompress: Free open-source LLM prompt compression - cut token costs by ~65%
SuperCompress: Open-Source Prompt Compression
SuperCompress is a learned prompt compression library that reduces LLM token usage by ~65% using a ~5K parameter neural policy.
Why this matters for ML development:
- Practical ML deployment: a tiny model (~5K params) as a preprocessing step
- DQN-style RL training on ~80K query-context pairs
- Cross-embedding architecture: context scored against query relevance
- CPU-only inference (~60ms) — deploy anywhere
- pip install supercompress | MIT license
Live demo: https://supercompress.dev | GitHub: https://github.com/arjunkshah/supercompress