Shikib / Response-Generation-Baselines

Transformer model for the Amazon Topical-Chat Corpus. Baselines for DSTC9 Track 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Response Generation

Scripts to train Seq2Seq and Transformer models on the Amazon Topical-Chat Corpus. This code serves as the baseline for DSTC9 Track 3.

To train: python3 train.py --use_knowledge --transformer --save_path transformer/

To test: python3 test.py --use_knowledge --transformer --save_path transformer/

To serve interactive model with TF-IDF based fact selection: python3 dynamic.py --use_knowledge --transformer --save_path transformer/

Data

The pre-processed data can be found in data.zip. If you would like to use a different pre-processing strategy, please download the original data from here.

Pre-trained models

The pre-trained models can be found at: https://drive.google.com/file/d/1fPB45RDs_BcJ8KZeYQiauK3W1RsdY2hM/view?usp=sharing

Contact

If you experience any issues with this code, please contact me at mehrishikib@gmail.com

About

Transformer model for the Amazon Topical-Chat Corpus. Baselines for DSTC9 Track 3.


Languages

Language:Python 100.0%