hengyicai / AdaND

The codebase for "Adaptive Parameterization for Neural Dialogue Generation" (Cai et al., EMNLP 2019)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdaND

Codebase for the EMNLP19 paper "Adaptive Parameterization for Neural Dialogue Generation".

This codebase is built upon the ParlAI project. Check parlai/agents/AdaND for our model implementations.

Framework Overview

Framework Overview

Requirements

  • Python3
  • Pytorch 1.2 or newer

Dependencies of the core modules are listed in requirement.txt.

Installing

git clone git@github.com:hengyicai/AdaND.git ~/AdaND
cd ~/AdaND; python setup.py develop
echo "export PARLAI_HOME=~/AdaND" >> ~/.bashrc; source ~/.bashrc

Running

cd ~/AdaND/data
tar -xzvf adand_data.tar.gz
cd ~/AdaND
python projects/AdaND/train_AdaND.py

Citation

If you find our code/models or ideas useful in your research, please consider citing the paper:

@inproceedings{hengyi_emnlp19,
  author    = {Hengyi Cai and Hongshen Chen and Cheng Zhang and Yonghao Song and Xiaofang Zhao and Dawei Yin},
  title     = {Adaptive Parameterization for Neural Dialogue Generation},
  booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural
               Language Processing and the 9th International Joint Conference on
               Natural Language Processing, {EMNLP-IJCNLP} 2019, Hong Kong, China,
               November 3-7, 2019},
  pages     = {1793--1802},
  publisher = {Association for Computational Linguistics},
  year      = {2019},
  url       = {https://doi.org/10.18653/v1/D19-1188},
  doi       = {10.18653/v1/D19-1188},
}

About

The codebase for "Adaptive Parameterization for Neural Dialogue Generation" (Cai et al., EMNLP 2019)

License:MIT License


Languages

Language:Python 61.0%Language:Jupyter Notebook 28.7%Language:JavaScript 4.9%Language:HTML 4.8%Language:CSS 0.4%Language:Shell 0.1%Language:Makefile 0.0%