microsoft/LLMLingua
[EMNLP'23, ACL'24] To speed up LLMs' inference and enhance LLM's perceive of key information, compress the prompt and KV-Cache, which achieves up to 20x compression with minimal performance loss.
License & maintenance
MIT is a permissive license: free to use commercially with attribution.
Last code push 39 days ago.