Publication: Programming A Poet: Poetry Text Generation Using LSTM
| datacite.rights | restricted | |
| dc.contributor.advisor | Narasimhan, Karthik | |
| dc.contributor.author | Hong, Katherine | |
| dc.date.accessioned | 2020-10-02T21:30:19Z | |
| dc.date.accessioned | 2026-09-29T22:34:03Z | |
| dc.date.available | 2020-10-02T21:30:19Z | |
| dc.date.available | 2026-09-29T22:34:03Z | |
| dc.date.issued | 2020-10-02 | |
| dc.description.abstract | I programmed Long Short-Term Memory (LSTM) models to generate poems using Walt Whitman’s poetry collection. I programmed two different models: a character level model, which generates text by character; and a word level model, which generates text by word. Within each model, I also experimented with different parameters. I wrote a baseline model, a wide model which has double number of cells in each LSTM layer than the baseline model, a deep model which adds one more LSTM layer, and a wide and deep model which combines both features. I used perplexity to measure the prediction ability of the generative models. By evaluating the generated poems and their perplexities, I conclude that the word level model is far superior than the character level model. Within the word level model, the wide and deep model produces the best quality of poems, although its perplexity is sometimes slightly higher. After sufficient training, the poems generated by the word level model are meaningful, expressive, and thematic. | |
| dc.format.mimetype | application/pdf | |
| dc.identifier.uri | http://arks.princeton.edu/ark:/88435/dsp01xd07gw74f | |
| dc.identifier.uri | https://theses-dissertations.princeton.edu/handle/88435/dsp01xd07gw74f | |
| dc.language.iso | en | |
| dc.title | Programming A Poet: Poetry Text Generation Using LSTM | |
| dc.type | Princeton University Senior Theses | |
| dspace.entity.type | Publication | |
| pu.certificate | None | |
| pu.contributor.authorid | 920088756 | |
| pu.date.classyear | 2020 | |
| pu.department | Electrical Engineering | |
| pu.pdf.coverpage | SeniorThesisCoverPage |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- HONG-KATHERINE-THESIS.pdf
- Size:
- 268.96 KB
- Format:
- Adobe Portable Document Format
Download