long-summarization icon indicating copy to clipboard operation
long-summarization copied to clipboard

run_summarization.py not working

Open jbassey opened this issue 4 years ago • 2 comments

For some reason, run_summarization.py gets stuck and gives an error message about the single_pass flag "The single_pass flag should only be True in decode mode") Exception: The single_pass flag should only be True in decode mode

P/S: the flag is False by default so I'm not sure why this error still pops up

jbassey avatar May 23 '20 04:05 jbassey

What is the command you are using for training? Please see the run.py for a sample command. Based on the line throwing that error, you are either setting --mode=decode or passing --single-pass to your run command.

armancohan avatar May 25 '20 21:05 armancohan

Thank you for the prompt response. The error has been fixed. However after training and evaluation, what is the exact process for testing? by that I mean, I have an input of a block of text and I want to generate the summary?

jbassey avatar May 26 '20 15:05 jbassey