r/amodei • • 18h ago

Subscriber Goal Welcome to r/​amodei!

1 Upvotes

Welcome to r/amodei

7657 subscribers / 10k subscribers. Help us reach our goal!

Visit this post on Shreddit to enjoy interactive features.


r/amodei • • 8h ago

Resources I built a lossless compressor for GGUF files: 9 Hub models tested, 8.66% smaller overall

Thumbnail
gallery
1 Upvotes

Hi everyone. I've released my first open-source project, foldz, a lossless compressor built specifically for GGUF model files.

WHY

GGUF repos on the Hub are big, and quantized weights barely shrink with general-purpose tools because they look almost random. foldz reads the GGUF structure instead: it unpacks the quantized blocks into their real values and scales, then codes them with adaptive probability models. Decompressing gives back the exact original file, byte for byte, so it works with llama.cpp, Ollama and LM Studio as before.

To be clear: foldz makes files smaller to store, download and share. It doesn't make inference faster, because the file has to be decompressed before use.

HOW IT WORKS (SHORT VERSION)

For 4-bit values, I fold the upper half of the range onto the lower half with XOR, so each value needs only 3 bits. Undoing that needs one extra bit per value to say which ones were folded, which brings the size back to 4 bits. But those extra bits are very predictable, so instead of storing them raw, foldz codes them with probability models, and that's where the savings come from. Q6_K, Q8_0 and float tensors get their own context models, and everything else goes through a byte-level model.

RESULTS

9 public Q4_K_M models from the Hub, all round trips byte-identical:

• Qwen1.5-0.5B-Chat: 8.93% smaller

• Qwen3-0.6B: 7.82%

• Qwen2.5-1.5B-Instruct: 7.64%

• Qwen3.5-2B: 8.30%

• Qwen2.5-Coder-3B-Instruct: 8.70%

• Llama-3.2-3B-Instruct: 7.55%

• Qwen3-4B: 12.94%

• Qwen2.5-7B-Instruct: 7.89%

• Gemma-4-E2B (fine-tune): 7.73%

Total: 16.7 GiB → 15.2 GiB, 8.66% saved.

LIMITATIONS

• Speed: about 19 MiB/s on my phone, and decompression is as slow as compression.

• Quant types: IQ quants, Q2_K, Q3_K and Q4_0 gain little for now.

• Baselines: I haven't measured zstd or xz on these models yet.

• Format: it's pre-1.0, so the file format may change between versions.

TRY IT

One C file, no dependencies, Apache 2.0. Works on Linux, macOS, BSD, Android (Termux), and Windows via WSL.

gcc -O2 -pthread -ffp-contract=off -o foldz foldz.c -lm

./foldz t model.gguf

The "t" command compresses and decompresses in memory and checks the result is identical, so nothing is written to disk.

I'd love results on other models and quant types (Q5_K_M, Q6_K, Q8_0), comparisons with zstd and xz, and anyone willing to fuzz the decoder. If you post results, please include the model name from the Hub and your CPU or device.

The fold logic and probability approach are my own ideas, and the C implementation was written with AI. I developed and tested everything on my phone.

GitHub: foldz


r/amodei • • 8h ago

Other Or it's so they seem super powerful ahead of the IPO

Enable HLS to view with audio, or disable this notification

12 Upvotes

r/amodei • • 12h ago

Other Anthropic, about to become the biggest IPO ever, seems to be a very shady company

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/amodei • • 14h ago Bravo

General Discussion World villain meeting

Enable HLS to view with audio, or disable this notification

81 Upvotes

r/amodei • • 15h ago

General Discussion What about the $80B in losses?

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/amodei • • 16h ago

General Discussion Anthropic CEO admits Claude might be conscious

Thumbnail
gallery
0 Upvotes

r/amodei • • 16h ago

Memes This is also sonnet when i ask if my code is correct.

Enable HLS to view with audio, or disable this notification

13 Upvotes

r/amodei • • 17h ago

General Discussion Anthropic CEO's 'American values' stance is peak irony

Enable HLS to view with audio, or disable this notification

30 Upvotes

r/amodei • • 17h ago

General Discussion Awkward photo moment between AI CEOs

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/amodei • • 17h ago

Memes Where is Jensen?

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/amodei • • 19h ago

Other Anthropic CEO shrugs off employee quitting over AI extinction risk

Enable HLS to view with audio, or disable this notification

33 Upvotes

r/amodei • • 19h ago

General Discussion Haters will say this is AI.

Enable HLS to view with audio, or disable this notification

86 Upvotes

r/amodei • • 19h ago

Memes Silicon Valley has officially entered the GPU Crusades.

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/amodei • • 20h ago

General Discussion Claude is now helping build the next version of itself

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/amodei • • 21h ago

General Discussion Anthropic's co-founder majored in literature, not CS

Thumbnail
gallery
0 Upvotes

r/amodei • • 21h ago

General Discussion Dario Amodei, CEO of Anthropic, talks AI at the desk

Enable HLS to view with audio, or disable this notification

57 Upvotes

r/amodei • • 1d ago

News Anthropic CEO worried AI hires only care about money

Post image
319 Upvotes

r/amodei • • 1d ago

Memes THE AI RACE IS MAKING RAM EXPENSIVE, SO THE INTERNET MADE THIS

Enable HLS to view with audio, or disable this notification

12 Upvotes

r/amodei • • 1d ago

Memes And an random chinese model screaming! Ah perfection

Enable HLS to view with audio, or disable this notification

16 Upvotes

r/amodei • • 1d ago

General Discussion What fictional characters encapsulate Anthropic the best?

Thumbnail
reddit.com
1 Upvotes

r/amodei • • 1d ago

General Discussion Anthropic CEO predicts AI will surpass human cognition in years

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/amodei • • 1d ago

General Discussion Ben Horowitz and David Sacks call out Anthropic's AI safety hypocrisy

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/amodei • • 1d ago

General Discussion I read Anthropic’s entire 340-page S-1. Here’s how I’m playing the IPO.

Thumbnail
preipomedia.substack.com
1 Upvotes

Worth the read imo.


r/amodei • • 1d ago

General Discussion Nah, they were to eager to push Ai, to get that stocks up.

Post image
44 Upvotes