A working implementation of the bAbI dialogue task 1. This project aims to test the relevance of memory networks on real world dialogue tasks. Trained on the bAbI dataset with TensorFlow and Keras and deployed using flask
To pull and run the Docker Image (2.56 GB) from Docker Hub:
sudo docker run -p 5000:5000 -e LC_ALL=C.UTF-8 adreejish/babichat1
-
(optional but recommended) create and activate a python3 virtual environment
-
Clone the repo
git clone https://github.com/adreejish/Babi-task-1
-
Enter the directory
cd Babi-task-1
-
Install requirements ( you may need to upgrade pip3 if this doesn't work correctly)`
pip3 -r install requirements.txt
-
Set some environment variables
export FLASK_APP =app export LC_ALL=C.UTF-8 export LANG=C.UTF-8
-
Start the flask server
flask run
-
Navigate to localhost:5000/chat
Learning End-to-End Goal-Oriented Dialog, Bordes et al, Facebook Research