Skip to content

Instantly share code, notes, and snippets.

@Sitin
Created January 21, 2017 14:57
Show Gist options
  • Save Sitin/515bb263f03b2dc9702f331b1f15cfa1 to your computer and use it in GitHub Desktop.
Save Sitin/515bb263f03b2dc9702f331b1f15cfa1 to your computer and use it in GitHub Desktop.
Setup multi-layer Recurrent Neural Networks (LSTM, RNN) for character-level language models in Python using Tensorflow
git clone https://github.com/artistic-ai/char-rnn-tensorflow.git
cd char-rnn-tensorflow
# Load all datasets
./main.py --datasets-all
# Train default model for Sei Shōnagon's pillowcase (RU)
./main.py --train pillowcase-ru
# Get sample for trained model
./main.py --sample pillowcase-ru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment