nlpyang / PreSumm

code for EMNLP 2019 paper Text Summarization with Pretrained Encoders
MIT License
1.28k stars 465 forks source link

test my data with text_test mode but got the same data as summary in candidate folder. #211

Open sarulathadurai opened 3 years ago

sarulathadurai commented 3 years ago

I am a beginner and I am trying to create a project using this amazing work. I test my data with test_text mode and the candidate file has the same data instead of summary.It would be so helpful if someone can take their time out and explain me the steps to get the right output.

Mahhos commented 2 years ago

Hi @sarulathadurai. How did you run the code ob the test_text mode? I am getting train.py: error: argument -mode: invalid choice: 'test_text' (choose from 'train', 'validate', 'test') error.