Generating poetry with GPT-2

1 · Shane Mulligan · Aug. 26, 2020, noon
Resources https://github.com/kylemcdonald/gpt-2-poetry https://kylemcdonald.github.io/gpt-2-poetry/ Final code https://github.com/mullikine/gpt-2 Running the Dockerfile.cpu Original steps Download the HTML from poetryfoundation.org based on the urls in romantic-urls.txt. https://gist.github.com/bea516e3726d0a0ab139bca534a43fe9 Use Parse Poetry.py to extract title author poem Save that data to output/. The metadata is contained in the first few lines. Use Generate GPT-2.py to generat...