Heptapod

Can a language model write a whole passage at once? A tiny diffusion model starts from 255 blanks and fills them in everywhere over a few passes, sometimes taking a letter back. Beside it, a GPT of exactly the same size writes the same length one letter at a time. Both were trained from scratch on Shakespeare and run here, in your browser.

The GPT twin

Same network, causal mask: one letter per pass.

diffusionGPT
passes–255
time in this browser––
real words, 50 seeds––

0 / 32
32

This piece needs JavaScript and Web Workers.