WetHat💦

AlexBuz/llama-zip: LLM-powered lossless compression tool

Leverages a user-provided LLM (large language model) as the probabilistic model for an arithmetic coder. This achieves high compression ratios on structured or natural language text, since few bits are needed to encode tokens that the model predicts with high confidence.

#LLM #LosslessCompression #Python #AI #ArtificialIntelligence #Github #PythonProgramming

github.com/AlexBuz/llama-zip

GitHub - AlexBuz/llama-zip: LLM-powered lossless compression tool

LLM-powered lossless compression tool. Contribute to…

github.com
Alessio Buccino

We started with #LosslessCompression. Across a range of general-purpose (GP) compressors, we found that #Zstandard with
@Blosc2 achieves the best compromise between compression ratio and decompression speed!

NP1: compressed size ~36%
NP2: compressed size ~52%

(3/n)