LSTM Recurrent Neural Network for Text Generation
-
Install dependencies:
pip install -r requirements.txt
-
Train the model:
python3 train.py input/matrix.txt
-
Generate text:
python3 generate.py input/matrix.txt checkpoints/weights-improvement-20-1.5858-bigger.hdf5
https://machinelearningmastery.com/text-generation-lstm-recurrent-neural-networks-python-keras/