From Nathan · · 1m 10s
TL;DR: Can gzip be a language model?
Gzip generates coherent text without neural networks by predicting byte sequences.
Gzip can create text by compressing prompts using its internal probability model. Gzip generates coherent text without neural networks by predicting byte sequences. The author previously generated Shakespeare using an unbounded n-gram model with no weights or training. Every prediction model is inherently a compressor, and all compression algorithms are prediction models.
- Language modeling without neural networks
- Compression-prediction equivalence
- Gzip as a language model
- Real output from gzip
Read the story version — the same reporting as a swipeable deck of 7 cards.





