Skip to content

adreejish/Babi-task-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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

Installation

  1. (optional but recommended) create and activate a python3 virtual environment

  2. Clone the repo

    git clone https://github.com/adreejish/Babi-task-1
  3. Enter the directory

    cd Babi-task-1
  4. Install requirements ( you may need to upgrade pip3 if this doesn't work correctly)`

    pip3 -r install requirements.txt
  5. Set some environment variables

    export FLASK_APP =app
    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8
  6. Start the flask server

    flask run
  7. Navigate to localhost:5000/chat

Links

The bAbI project

Learning End-to-End Goal-Oriented Dialog, Bordes et al, Facebook Research

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published