Skip to content

huiyinglu/NLP-Deep-Learning-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLP-Deep-Learning-Chatbot

NLP Deep Learning Question & Answer Bot

In this project, we implement a chatbot that can answer questions based on a "story" given to the bot.

We are using a subset of the BaBi dataset released by Facebook research. https://research.fb.com/downloads/babi. There are 10,000 data in the training set and 1,000 data in the testing set. Each data in the training/testing set consists of 3 components:

  1. Story - consists of single or multiple sentences
  2. Question - single sentence query related to the story
  3. Answer - "yes" or "no" answer to the question

The model for our chatbot is a RNN network with attention mechanism. It includes the following layers: Embedding, LSTM, Dropout, Dense and Activation. The design of the model pretty much follows the idea in the paper "End-to-End Memory Networks": https://arxiv.org/pdf/1503.08895.pdf.

Our model achieved pretty high accuary on training/testing set and performs really good on run time generated data.

About

NLP Deep Learning Question & Answer Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published