Skip to content
Learn to implement a chat bot with deep learning.
Python CSS JavaScript HTML Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
webui Update README.md Mar 15, 2017
working_dir
.gitignore update ignore rule Dec 31, 2016
README.md Update README.md Mar 15, 2017
__init__.py
data_utils.py
env_setup.sh add initial code Dec 10, 2016
execute.py
neuralconvo.ini add initial code Dec 10, 2016
seq2seq.ini add initial code Dec 10, 2016
seq2seq_model.py add initial code Dec 10, 2016
seq2seq_serve.ini add initial code Dec 10, 2016

README.md

easybot

Learn to implement a chat bot with deep learning.

The first version is based on: tensorflow_chatbot from llSourcell.

usage

Put the dataset into easybot/data/

How to get the sample dataset

Change seq2seq.ini to switch to the training mode:

mode = train

Start training

python execute.py

Testing

You can stop the training anytime, the trained model will be saved in easybot/working_dir/. Change seq2seq.ini to switch to the testing mode, then start execute.py:

mode = test python execute.py

All the code for serve mode is in easybot/webui/

  • Main app:

python webui/app.py

  • Startup/Shutdown:

sh webui/startup.sh sh webui/shutdown.sh

  • Background runing:

sh webui/startup.sh

  • App Daemon:

sh webui/app-daemon.sh

  • Archive log:

sh webui/archivelog.sh

Demonstration snapshot:

http://www.easyapple.net/?p=1384

You can’t perform that action at this time.