Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/spiglerg/RNN_Text_Generation_Tensorflow
- Owner: spiglerg
- License: apache-2.0
- Created: 2016-09-02T18:10:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T09:26:28.000Z (almost 7 years ago)
- Last Synced: 2024-08-02T05:12:02.945Z (3 months ago)
- Language: Python
- Homepage:
- Size: 17.7 MB
- Stars: 111
- Watchers: 8
- Forks: 52
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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