This is a tensorflow implementation of the model CCM [Commonsense Knowledge Aware Conversation Generation with Graph Attention] (IJCAI-2018).
- Python>=3.6
- Tensorflow>=1.5
- numpy
- nltk
The commonsense conversation dataset can be downloaded from here, which are put under the folder ./data
.
- Train the model
sh run_train.sh
- Test the model
sh run_test.sh