Skip to content

A Recurrent Neural Network that can infinitely generate poetry. Trained using Tensorflow & Python.

Notifications You must be signed in to change notification settings

Amber-Abuah/RNN-Poem-Generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNN Poem Generation

A Recurrent Neural Network capable of infinitely generating poetry. The Keras RNN is trained using the poem.txt file. If you wish to train another model, please set retrain=True or change output_model_path to another path of your choosing.

To use the RNN, this can be done by either using PoemGeneration.py after training a model, or using GradioApp.py for gradio deployment.

Gradio Deployment: https://huggingface.co/spaces/sweetfelinity/PoemGeneration
poem.txt provided by: https://www.kaggle.com/datasets/harshalgadhe/poem-generation