Prediction

Prediction is a visualisation of how language models generate text.

Like the autocomplete feature on your phone or email, a language model predicts what word is most likely to come next based on the words that came before it. This experiment uses a simple predictive system called a Markov Chain and applies it to a selection of books.
In the visualisation:

Try that yourself, by selecting a different book from the dropdown menu.