Infinite State Machine Poetry in, with, and by Clojure
summary
Clojure code generates poems using a Markov chain on Keats (≈2,000 lines, ~13,660 words, ~80k chars) and a recurrent neural network on Shakespeare (≈125k lines, ~1M words, 5.6M chars). The Markov implementation is ~15 lines and yields Keats‑like phrases (it even spits out the name "Eric" once). The RNN (via DL4J) becomes pronounceable after ~50 minibatches and Shakespeare‑like after ~160; training takes a couple hours on a 2012 MacBook Air (no GPU). A Clojure program named REM cycle prints "know that they all lived happily ever after."
AI-written summary · about
chapters (14)
- 0:00Start
- 4:45Poem About the Machine
- 7:44Poems && Programs
- 11:01Poem.
- 11:31Corpus
- 12:10Markov Chain
- 13:05Prose Poem by A. Machine
- 18:50Humans Like Chocolate, Right?
- 21:23To Serve (Hu)man(s)
- 25:12The Unreasonable Effectiveness of Recurrent Neural Networks
- 26:12Show Me the Code
- 26:5410 Mini Batches
- 31:47TL;DPA
- 34:10Questions?
related talks
10mThis is the poem that doesn’t end!! or, the poetics of RNG!
08mWriting {{‘poems that change’, ‘chance poems’, ‘dynamic poetry’}}!
33mFor AI, By AI: Freedom & Evolution of the AlgoPoetic Avant-Garde
36mShall I Compare Thee to a Line of Code
40mRuby Writing Machines
36mWhat if Shakespeare Wrote Code?
21mWords Can Communicate Beyond Words - Poetry in the Age of AI
41mKeynote: computational stichography! (or: connecting lines)
