nlpyang / BertSum

Code for paper Fine-tune BERT for Extractive Summarization
Apache License 2.0
1.46k stars 422 forks source link

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

Closed progsi closed 4 years ago

progsi commented 4 years ago

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!

lee2015new commented 4 years ago

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.

progsi commented 4 years ago

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

progsi commented 4 years ago

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 " \ ")

DarlineFiedler commented 4 years ago

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

yuxuan512 commented 3 years ago

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