Skip to content

HungWei-Andy/PTTBot

Repository files navigation

ICBT2017: PTTBot2

Requirements

Download

Please download packages by executing download.sh before running the code:

  bash download.sh

Python Requirements

The python version is Python 2.7. The required library is listed below and in requirements.txt

gym>=0.9.1
keras-rl
tensorflow>=1.0.0
keras>=2.0.2
h5py>=2.6.0
pandas>=0.13.1

Keras Theano Backend

Please turn the backend of keras into theano backend. [reference1][reference2]

Usage

Run the server

  python runserver.py

Reinforcement Learning of Dialogue Policy

  python agent_pttbot.py

Web Interface

To test the chatbot, we have setuped a website here

About

The project of NTU ICBT2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published