Loading repository data…
Loading repository data…
campdav / repository
Tutorial: Multi-layer Recurrent Neural Networks (LSTM, RNN) for text models in Python using TensorFlow.
Tutorial: Multi-layer Recurrent Neural Networks (LSTM) for text models in Python using TensorFlow.
Before going through this tutorial, I suggest to read the very very good blog note from Andrej Karpathy: http://karpathy.github.io/2015/05/21/rnn-effectiveness/
This project takes also a lot from : https://github.com/hunkim/word-rnn-tensorflow by hunkim. (honestly: almost every thing, this word-rnn-tensorflow project is great)
The project has a Train_RNN.ipynb notebook. Open it using Jupyter.
It describes the following activities:
The project has a Generate_text_ipynb notebook. Open it using Jupyter.
It describes the following activities:
This python script embeds the definition of a class for the model:
It's a 'simplification' of the word-rnn-tensorflow project, with a lot of comments inside to describe its steps.
Model training and text generation is done through notebooks in this tutorial. If you want to use a more strengthened code, a more optimized code, embedding more features, I suggest to use the word-rnn-tensorflow project
The project comes with two types of input: