Zip+ model collection
Collection
Find all the models for Zip+ (https://github.com/CompactAIOfficial/ZipPlus) in one place! β’ 1 item β’ Updated
A pre-trained 4-layer GRU model for neural file compression. Each compressed file contains its own adapted model β no external model needed to decompress.
This is a pre-trained ByteGRU model for Zip+.
Zip+ compresses any file into a PNG image using a neural network (GRU + range coding). Each compressed file embeds its own adapted model:
file.txt β [ByteGRU + Range Coding] β file.txt.zpng.png β [embedded model] β file.txt
Every PNG is self-contained β decompress even if you lose the original model file!
ZPNG (first 4 bytes)pip install constriction)pip install torch constriction pillow numpy huggingface_hub
python inference.py compress myfile.txt -o myfile.zpng.png
python inference.py decompress myfile.zpng.png -o restored.txt
Loads the model embedded in the PNG β no external files needed!
python train.py --grid 128 --steps 10000
Auto-downloads FineWeb-Edu if no corpus specified.
MIT. I'm not liable if this eats your thesis/pixels/anything.