Skip to content

jooag/char-rnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Char RNN

LSTM implemented in PyTorch capable of learning structure of texts char by char.

Use: Data should be in train.txt and test.txt. Hyperparameters can be set at train.py source code.

python train.py

Ctrl + C to stop training.

To generate text:

python generate_text.py $LEN

Where $LEN is the number of characters to be generated. Enter the start of the text ended with an '#'. Press Enter to generate more.

About

RNN to generate text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published