frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Overfitted a 900KB Transformer to Compress a 100MB CSV into 7MB

4•spidy__•3h ago
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 - https://github.com/samyak112/pym-particles

Comments

7373737373•1h ago
What does it compress the full 1GB file to? http://prize.hutter1.net/
spidy__•1h ago
I tried it on a enwik9 100 mb slice and was able to compress it to 20 mb + 900kb transformer so 21mb.

I know the top submission was able to get it to 13 mb.

Still trying some ideas to get better compression.

Overfitted a 900KB Transformer to Compress a 100MB CSV into 7MB

4•spidy__•3h ago•2 comments

Tell HN: Happy Fathers Day

336•consumer451•2d ago•57 comments

Ask HN: New clean macOS install. Must-have apps? Best browser?

12•simonebrunozzi•4h ago•12 comments

Open source, global vs. proprietary but for US in US, which is fundable in SaaS?

4•avijeetsingh16•10h ago•0 comments

Ask HN: Do you have an unusual income source

44•xupybd•1d ago•32 comments

Ask HN: Will programmers write more efficient code during the memory shortage?

152•amichail•3d ago•243 comments

Tell HN: I never bought anything from clicking on a paid ad

13•julienreszka•15h ago•15 comments

Ask HN: Is anyone using the A2A protocol?

94•asim•5d ago•44 comments

Ask HN: What did you find out or explore today?

5•blahaj•21h ago•5 comments

Ask HN: What is your opinion on TUI applications

8•po1nt•1d ago•9 comments

Ask HN: Fda.gov Down for You?

2•jmount•23h ago•2 comments

Ask HN: What tools are you using for AI-assisted code review?

25•agos•5d ago•26 comments

Ask HN: Are you being "529 Overloaded" by Anthropic too?

8•hmokiguess•1d ago•8 comments

Ask HN: Are people optimistic about the future?

40•JohnDSDev•2d ago•81 comments

Ask HN: How close are we to local LLMs being useful? What's the impact?

6•AbstractH24•1d ago•6 comments

Ask HN: What would justify writting an OS kernel in 2026?

5•alonsovm44•1d ago•7 comments

Ask HN: Has Codex gotten slower recently?

6•aurenvale•14h ago•1 comments

Norrin – Git/ diff control in Claude Code

4•gagewoodard•2d ago•1 comments

Ask HN: I'm lost. How can I define ICP (Ideal Customer Profile)?

8•snowhy•4d ago•6 comments

Ask HN: Are You a Workaholic?

5•julienreszka•2d ago•5 comments

My Opinion on RL

3•umjunsik132•1d ago•1 comments

GitHub Banned All CI for Our (OSS) Org Because of Bad Drive-By Contributors

9•BlueMatt•1d ago•4 comments

Ask HN: How should I convert Microsoft Word documents to Markdown?

5•lkrubner•1d ago•7 comments

Ask HN: Anthropic banned me from using Claude Code and I don't know what to do

55•ayi•10h ago•72 comments

Ask HN: After you ship a feature, what happens to what you learned?

10•gaggle_dk•2d ago•13 comments

Ask HN: What technique do you use to make Claude Code deterministic?

8•hbarka•3d ago•11 comments

Ask HN: What do you care about? What is your joy and purpose?

11•bix6•3d ago•20 comments

Ask HN: Favorite aspects of Cocoa/NeXTSTEP for app dev?

6•elcritch•2d ago•0 comments

Ask HN: What are your favourite Hacker News comments?

4•Imustaskforhelp•2d ago•4 comments

Ask HN: How to get ideas for space startups?

6•asxndu•2d ago•5 comments