long-summarization
long-summarization copied to clipboard
run_summarization.py not working
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
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.
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?