gy910210 / char-rnnlm-tensorflow

Char RNN Language Model based on Tensorflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Char RNN Language Model based on Tensorflow

Multi-layer Recurrent Neural Networks (LSTM, RNN) for character-level language models in Python using Tensorflow.

If you are not familar with RNN, you can first read my post https://github.com/pangolulu/rnn-from-scratch.

Inspired from Andrej Karpathy's char-rnn.

See his article The Unreasonable Effectiveness of Recurrent Neural Network to learn more about this model.

How to use?

In the directory scripts, you can first run sh shakespeare.sh to train the model, and the run sh sample.sh to sample text based on the model.

About

Char RNN Language Model based on Tensorflow


Languages

Language:Python 98.4%Language:Shell 1.6%