dennybritz/chatbot-retrieval

Dual LSTM Encoder for Dialog Response Generation

Jupyter Notebook

1,571

102 commits

updated Nov 21, 2022

See the code

README

Retrieval-Based Conversational Model in Tensorflow (Ubuntu Dialog Corpus)

Please read the blog post for this code

Overview

The code here implements the Dual LSTM Encoder model from The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systems.

Setup

This code uses Python 3 and Tensorflow >= 0.9. Clone the repository and install all required packages:

pip install -U pip
pip install numpy scikit-learn pandas jupyter

Get the Data

Download the train/dev/test data here and extract the acrhive into ./data.

Training

python udc_train.py

Evaluation

python udc_test.py --model_dir=...

Evaluation

python udc_predict.py --model_dir=...

dennybritz/chatbot-retrieval

Dual LSTM Encoder for Dialog Response Generation

Jupyter Notebook

1,571

102 commits

updated Nov 21, 2022

See the code

README

Retrieval-Based Conversational Model in Tensorflow (Ubuntu Dialog Corpus)

Please read the blog post for this code

Overview

The code here implements the Dual LSTM Encoder model from The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systems.

Setup

This code uses Python 3 and Tensorflow >= 0.9. Clone the repository and install all required packages:

pip install -U pip
pip install numpy scikit-learn pandas jupyter

Get the Data

Download the train/dev/test data here and extract the acrhive into ./data.

Training

python udc_train.py

Evaluation

python udc_test.py --model_dir=...

Evaluation

python udc_predict.py --model_dir=...

Significant stargazers

Xipeng Qiu

4,941 followers · starred Oct 2016

Kumar Ujjawal

22 followers · starred Dec 2020

Jordan Millar

41 followers · starred Aug 2016

Arnaud Benard

94 followers · starred Dec 2016