Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tomlum/Talky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talky

A character based RNN text generator, inspired by Lucashu1

Installation

First install pipenv, then run

pipenv install

Training and Talking

To train the network, run

pipenv run python train.py <corpus.txt> <number of epochs to train>

This will generate a keras network save file in the saves directory of the weights that produce the least error. If a save exists already, the network will load the save and continue training.

To have it talk, run

pipenv run python talk.py <corpus.txt> <number of characters to generate (default: 100)> <variability (default: .5)>

Tweaking Parameters

To tweak the parameters of the network, check out params.py.

Note: any changes to parameters (except for patience) will cause a separate save filed to be generated/loaded.

About

A character based RNN text generator, inspired by Lucashu1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages