nlpyang / BertSum

Code for paper Fine-tune BERT for Extractive Summarization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Step 4. Format to Simpler Json Files" no output

progsi opened this issue · comments

commented

Firstly, thank you for the code and instructions!

When running preprocessing step to "format_to_lines" I do not get any output. It runs for 3-10 seconds or so.

Thanks in advance for your help!

Firstly, thank you for the code and instructions!

When running preprocessing step to "format_to_lines" I do not get any output. It runs for 3-10 seconds or so.

Thanks in advance for your help!

Do you use the CNN/Dailymail data or not? If you use yourself data you need ignore the MAP_PATH.

commented

thanks for the quick reply! I am using the CNN/Dailymail dataset

commented

seems like I found the Issue. The format_to_lines function in the data_builder had different interpretation of path separators than my OS. ("/" vs " \ ")

What exactly have you changed? I have the same problem and I can't solve it. Even if I change the path separators.

commented

I have the same problem. Have you solved this? I still have nothing output.