A Natural Language Model focused on creating poems based on input text.
The model is a version of a Bidirectional LSTM model trained on a dataset of around 400-600 poems.
Below are the layers used in this model. \
- Embedding (For Dictionary)
- Bidirectional LSTM
- Dropout (For Generalization / Reducing Overfitting)
- LSTM (For Generalization)
- Dense
An online version can be found at https://poet.lynnlo.tech/
To host it locally for personal use, follow these steps\
- Download the repository on your local machine
- Either use Poetry or Pip/Conda to install the dependencies
a. For Poetrypoetry install
b. For Pippip install -r requirements.txt
- Use python (3.7.5 or 3.8) to run
python3 server.py
- Go to localhost:4000