Skip to content

Latest commit

 

History

History
executable file
·
43 lines (25 loc) · 1.43 KB

README.md

File metadata and controls

executable file
·
43 lines (25 loc) · 1.43 KB

Faulknerbot

William Faulkner

Overview

In this demo code, I've implemented Tensorflow's Sequence to Sequence model to train a chatbot on the Faulkner at Virginia: An Audio Archive.

Dependencies

Use pip to install any missing dependencies

Usage

To train the bot, edit the seq2seq.ini file so that mode is set to train like so

mode = train

then run the code like so

python execute.py

To test the bot during or after training, edit the seq2seq.ini file so that mode is set to test like so

mode = test

then run the code like so

python execute.py

Credits

Credit for the vast majority of code here goes to the TensorFlow authors. I've preprocessed the dataset and trained the system. I've also included a quick search function to retrieve results from The University of Virginia Libraries Faulkner at Virginia Audio Archive site. I've also added a objectionable language editing system to avoid the fate of Tay.