Efi's Demo Lab
Interactive explainer

A small poetry machine

Second-order Markov transitions assemble new lines one word at a time, with the previous two words as context.

Try the method

Interactive explainer

How it works.

Read the corpus

The original Python project learns transition counts from Robert Frost's poetry.

Continue in the source.

Open the source notebook in Jupyter, Colab, or the environment described in the README. Data and model downloads may be required.

git clone https://github.com/eforus-overseer/poetry_generation.git
Read the setup and requirements ↗

Project artifacts.

Source links point to the original public repository. Credit belongs to the project authors and the dependencies credited there.