This is a paddlepaddle implementation of generative-based model for knowledge-driven dialogue
- cuda=9.0
- cudnn=7.0
- python=2.7
- numpy
- paddlepaddle>=1.3.2
Put the data of DuConv under the data folder and rename them train/dev/test.txt:
./data/resource/train.txt
./data/resource/dev.txt
./data/resource/test.txt
Train model with the following commands.
sh run_train.sh
Test model with the following commands.
sh run_test.sh
- The script run_train.sh/run_test.sh shows all the processes including data processing and model training/testing. Be sure to read it carefully and follow it.
- The files in ./data and ./model is just empty file to show the structure of the document.