Transformer - Poetry 978 1 7341647 0 1 PDF
Transformer - Poetry 978 1 7341647 0 1 PDF
Transformer - Poetry 978 1 7341647 0 1 PDF
poetry
i
ii
transformer
poetry
Poetry classics reimagined by artificial intelligence
Kane Hsieh
All rights reserved. No portion of this book may be reproduced in any form without
permission from Paper Gains Publishing, except as permitted by U.S. copyright law.
iv
To Dr. William Weitzel, who mercy-graded me a “B” in
writing class a decade ago.
v
I’ve come up with a set of rules that describe our reactions to technologies:
1. Anything that is in the world when you’re born is normal and ordinary and is
just a natural part of the way the world works.
2. Anything that’s invented between when you’re fifteen and thirty-five is new and
exciting and revolutionary and you can probably get a career in it.
3. Anything invented after you’re thirty-five is against the natural order of things.
– Douglas Adams
vi
Table of Contents
Foreword ix
Preface xi
Introduction xiii
Ozymandius 1
One Art 3
The Road Not Taken 5
Where the Sidewalk Ends 6
Because I could not stop for Death 9
Inferno, Canto I 11
In Flanders Field 13
O Captain! My Captain! 15
Howl 17
The Tyger 19
Outsight 21
Zuang Zhou Dreams of Being a Butterfly 23
Sonnet 18 25
Oh, the Places You’ll Go! 27
The Hollow Men 29
The Summer Day 31
A Just-Finishing Candle 33
A Psalm of Life 35
Still I Rise! 37
The Second Coming 39
Do not go gentle into that good night 41
Kubla Khan 43
Edge 45
The Raven 47
There Will Come Soft Rains 49
The Lorax 51
vii
viii
Foreword
I was asked to write the foreword for this poetry book, but since I was
a co-author on the GPT-2 paper, I’ll let it do the heavy lifting:
The title is very fitting, I think, since the project I had in mind was the
synthesis of my two fields of study. My focus is on the science of how
our bodies and brains are wired so that it can be turned around to find
patterns that make sense.
– David Luan
ix
xkcd Comic #1263: “Reassuring”
x
Preface
Kevin Kwok and Keila Fong provided encouragement for this project
as only close friends can. Bored one day, I texted them screenshots
from GPT-2 riffing on Ozymandias and The Road Not Taken; they were
relentless in egging me on to take a half-baked joke to a fully-baked
book. Chase Hu is as well-read of a friend one could hope for, and I
appreciate his taste and infinite patience in lending me poetry books.
– Kane Hsieh
1 www.xkcd.com/1263
2 www.talktotransformer.com
xi
xii
Introduction
The opening stanzas of each poem were read by GPT-2, which then
synthesized additional stanzas to create new hybrid poems. The resul-
tant poems are published in the book, and can be read in this way:
xiii
transformer
poetry
Poetry classics reimagined by artificial intelligence
Ozymandias
Percy Bysshe Shelley
1
2
One Art
Elizabeth Bishop
3
4
The Road Not Taken
Robert Frost
5
Where the Sidewalk Ends
Shel Silverstein
6
So we walk, until we arrive
At the door of the little house.
Little boy stands with his arm at the door,
Staring at us,
Like the moon over the deep blue sea.
7
8
Because I could not stop for Death
Emily Dickinson
That was all, a very solemn moment with a very brave mind.
The sun fell on us, we were left behind,
the world went dark –
Our only light was the moon –
And we were still there.
9
10
Inferno, Canto I
Dante Alighieri (Longfellow Translation)
11
12
In Flanders Field
John McCrae
13
14
O Captain! My Captain!
Walt Whitman
15
16
Howl
Allen Ginsberg
The madman’s hands, the maniac’s mind, the mind that takes
nothing human
as an object of delight, and the lunatic’s body, or any other
living thing for the time...
I felt it so well that I did not feel much. I stood here, this evening,
when the streets
were dead still with the sound, I stood up at last.
17
18
The Tyger
William Blake
19
20
Outsight
Ursula Le Guin
21
22
Zuang Zhou Dreams of Being a Butterfly
Zhuangzi (Watson translation)
It was just there invisible to all except for the people with ears to
hear it. It seemed like they were talking about how he was the
best of them.
However, he knew they wanted to beat him. It was too late to change
back now. Some of his shadow fluttered about and danced,
giving his face a slightly strange look.
23
24
Sonnet 18
William Shakespeare
25
26
Oh, the Places You’ll Go!
Dr. Seuss
Congratulations!
Today is your day.
You’re off to Great Places!
You’re off and away!
Let the journey begin!
You’re running from The Devil in the Dark!
It’s time to begin your journey...
You’re on the road to greatness.
You’re running from the Dark Realm,
out of the world itself !
The road goes on forever...
27
28
The Hollow Men
T.S. Eliot
29
30
The Summer Day
Mary Oliver
31
32
A Just-Finishing Candle
Jalāl ad-Dīn Muhammad Rūmī (Barks translation)
I am that candle.
When I look at the world
I see an eternal fire which runs
from star to star.
33
34
A Psalm of Life
Henry Wadsworth Longfellow
A dream of a dream,
Shall never wake the sleeping soul.
For we are but shadows and shadows
This is the soul’s home, and all things are there.
35
36
Still I Rise!
Maya Angelou
37
38
The Second Coming
William Butler Yeats
39
40
Do not go gentle into that good night
Dylan Thomas
41
42
Kubla Khan
Samuel Taylor Coleridge
The prince was gone, his great golden throne sat cold and
empty and alone.
It was the wind that cried, “Now this is Kubla’s palace;
now, he shall be my king.”
43
44
Edge
Sylvia Plath
To the unappeased
I sing “Pleasure is an illusion”
To the Unconquered
I sing “Unconquered”
45
46
The Raven
Edgar Allan Poe
And now the man who knocks at my door, in the glow of day,
Is surely my neighbor, for one day I sat by his side,
And the next, he was as me: and at each new moon
He would sit down again and take my arm;
47
48
There Will Come Soft Rains
Sara Teasdale
There will come soft rains and the smell of the ground,
And swallows calling with their shimmering sound;
The grass will rise up and the wild beasts of the field
With the noise of their rushing they will run.
49
50
The Lorax
Dr. Seuss
51
52
About the Authors
1 www.openai.com/blog/better-language-models
2 www.kane.pizza
53