This is the official codes for the paper: Iterative Document Representation Learning Towards Summarization with Polishing
- Python 2.7
- Tensorflow 1.3.0
Preprocessed data can be found here.
Use story2TF.py
to transform data into .bin
format and put in tfrecord
directory.
python single.py --train_dir=train_dir --train_path=path_to_training_data --validation_path=path_to_validation_data
python test.py --train_dir=path_to_train_dir --test_path=test_dir