Nathan

Can gzip be a language model?

TL;DR: 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.

From · · 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.

Read the original on Nathan

How we make summaries

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on gzip and related topics.