Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 3.38 KB

README.markdown

File metadata and controls

67 lines (44 loc) · 3.38 KB

Recurrent Entity Network for Goal Oriented Dialog System

Motivation: The Recurrent Entity Network (EntNet) maintain a set of dynamic long-term memory blocks which can be update simultaneously to represent high-level concepts or entities together with their properties. In goal oriented dialog systems, it is important to keep track of the current state of dialog and being able to reasoning on the fly as we receive user's utterances. Thus, this project explores the EntNet architecture for question answering and goal oriented dialog systems. We will train on (6) dialog bAbI tasks. Tensorflow is used for building the models.

The (6) dialog bAbI tasks

This section presents the set of 6 tasks for testing end-to-end dialog systems in the restaurant domain. Each task tests a unique aspect of dialog.

Setup

# python2 is not supported
sudo -H pip3 install -r requirements.txt
# if this doesn't work, raise an issue

Learning End-to-End Goal-Oriented Dialog

# run main.py without arguments, for usage information
#  usage: main.py [-h] (-i | -t) [--task_id TASK_ID] [--batch_size BATCH_SIZE]
#               [--epochs EPOCHS] [--eval_interval EVAL_INTERVAL]
#               [--log_file LOG_FILE]
#  main.py: error: one of the arguments -i/--infer -t/--train is required
python3 main.py --train --task_id=3 --log_file=log.task3.txt

Results

Task Training Accuracy Validation Accuracy
1 100 99.7
2 100 100
3 100 74.71
4 100 56.67
5 100 98.42
6 76.61 47.08

Papers

Jargons

  • OOV : Out Of Vocabulary

Credits