Organized resources for Get To The Point: Summarization with Pointer-Generator Networks with python3.x
参考https://github.com/abisee/cnn-dailymail
raw corpus
command for data preprocessing
python data/make_datafiles.py /path/to/unzipped/cnn_stories.tgz /path/to/unzipped/dailymail_stories.tgz
generate data for model
参考https://github.com/abisee/pointer-generator
python run_summarization.py --mode=train --data_path=/path/to/chunked/train_* --vocab_path=/path/to/vocab --log_root=/path/to/a/log/directory --exp_name=myexperiment
python run_summarization.py --mode=eval --data_path=/path/to/chunked/val_* --vocab_path=/path/to/vocab --log_root=/path/to/a/log/directory --exp_name=myexperiment
python run_summarization.py --mode=decode --data_path=/path/to/chunked/val_* --vocab_path=/path/to/vocab --log_root=/path/to/a/log/directory --exp_name=myexperiment