An experimental file compression method using an overfitted transformer and arithmetic coding to memorize and compress individual files.
Raw Developer Origin & Technical Request
Hacker News
Jun 27, 2026
I built an experiment that uses an overfitted transformer and arithmetic coding to compress individual files.Instead of training the model to generalize, I train a 900KB transformer to memorize a single file and predict the next byte. Those predictions are fed into an arithmetic coder to produce the compressed output.On a 100MB NYC taxi CSV, it compresses to about 7MB (~0.5 bits/byte). On a 100MB slice of enwik9, it compresses to about 21MB (~1.68 bits/byte).It's pretty slow right now (roughly 20–30 minutes of training and 45 minutes each for compression and decompression on my AMD 7800XT).Checkout the repo - github.com/samyak112/pym-par...
Developer Debate & Comments
Frequently Asked Questions
Market intelligence mapped to An experimental file compression method using an overfitted transformer and arithmetic coding to memorize and compress individual files..
How is An experimental file compression method using an overfitted transformer and arithmetic coding to memorize and compress individual files. positioned in the market?
What is the general sentiment around An experimental file compression method using an overfitted transformer and arithmetic coding to memorize and compress individual files.?
What are the foundational technologies related to An experimental file compression method using an overfitted transformer and arithmetic coding to memorize and compress individual files.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like training and compression by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics