Modify the path in prepare_data.py then run it: python prepare_data.py
Training: python -u main.py | tee train.log
Tuning: modify main.py: is_predicting=true and model_selection=true, then run "bash tuning_deepmind.sh | tee tune.log"
Testing: modify main.py: is_predicting=true and model_selection=false, then run "python main.py you-best-model (say cnndm.s2s.gpu4.epoch7.1)", go to "./deepmind/result/" and run $ROUGE$ myROUGE_Config.xml C, you will get the results.
The Perl Rouge package is enough, I did not use pyrouge.