saurabhmathur96 / Neural-Chatbot

A Neural Network based Chatbot
GNU General Public License v3.0
68 stars 27 forks source link
attention-mechanism chatbot keras neural-conversation-models recurrent-neural-networks sequence-to-sequence

Neural-Chatbot

A Neural Network based Chatbot

Inspired by "A Neural Conversational Model".

Documentation

  1. Report 1
  2. Report 2
  3. Presentation

Getting Started

  1. Create virtualenv virtualenv venv
  2. Install Dependencies pip install -r requirements.txt
  3. Setup nltk and directories python lib/setup.py

Data Preprocessing

  1. Verify configurations in configuration.cfg
  2. Fetch data python src/data/opus11/pull.py
  3. Clean data python src/data/opus11/make_pairs.py
  4. Prepare for training python src/data/opus11/filter.py

Training

Train model python src/model/train.py

Sampling & interface

Still working on this.

Model Architecture