Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spiglerg/RNN_Text_Generation_Tensorflow

DEPRECATED CODE : Text generation using RNN (LSTM) implemented using Tensorflow
https://github.com/spiglerg/RNN_Text_Generation_Tensorflow

Last synced: 3 days ago
JSON representation

DEPRECATED CODE : Text generation using RNN (LSTM) implemented using Tensorflow

Awesome Lists containing this project

README

        

# Text generation using a RNN

Text generation using a RNN (LSTM) using Tensorflow.

## Usage

To train the model you can set the textfile you want to use to train the network by using command line options:

Run the network in train mode:

$ python rnn_tf.py --input_file=data/shakespeare.txt --ckpt_file="saved/model.ckpt" --mode=train

Run the network to generate text:

$ python rnn_tf.py --input_file=data/shakespeare.txt --ckpt_file="saved/model.ckpt" --test_prefix="The " --mode=talk