Python scripts

After training the model will be saved as [filename].pt — now run generate.py with that filename to generate some new text:

> python generate.py shakespeare.pt --prime_str "Where"
Where, you, and if to our with his drid's
Weasteria nobrand this by then.
AUTENES:
It his zersit at he

Training options

Usage: train.py [filename] [options]
Options:
--n_epochs Number of epochs to train
--print_every Log learning rate at this interval
--hidden_size Hidden size of GRU
--n_layers Number of GRU layers
--learning_rate Learning rate
--chunk_len Length of chunks to train on at a time