Skip to content

Neurzip 0.3.0

Choose a tag to compare

@CodeGeek04 CodeGeek04 released this 23 Nov 15:38
· 3 commits to main since this release

Neurzip is a model-based lossless text compressor. Each nonempty archive includes a file-specific transformer and an arithmetic-coded stream. Restored bytes are verified with SHA-256.

pip install neurzip
neurzip encode notes.txt
neurzip decode notes.txt.nzip

Encoding defaults to isolated CPU training with one thread and one coding worker. Training exits and releases memory before coding starts. GPU training requires an explicit --device mps or --device cuda.

Validation: 35 Python tests, 10 browser tests, and nine independently encoded representative-file round trips. The complete Alice text compressed from 151,094 to 80,193 bytes (1.88×) with the normal 60-second CPU budget; small files trained briefly can grow due to model overhead. All restored hashes matched. See the attached acceptance report for measured timings and settings.