CurationCorp / curation-corpus

Code for obtaining the Curation Corpus abstractive text summarisation dataset
Creative Commons Attribution 4.0 International
122 stars 27 forks source link

cannot compute loss #7

Closed shreshtha05 closed 3 years ago

shreshtha05 commented 3 years ago

Hi, can you please update the rquirement.txt file with the correct versions required for the Bert summarisation code. I am getting a name error with flattened loss in the summary loss function.I suppose this is because of the version mismatch.

HenryDashwood commented 3 years ago

I've added this notebook which should help you use Bert for summarisation since the bertextabs one is fairly out of date https://github.com/CurationCorp/curation-corpus/blob/master/examples/hf_encdec/encdec.ipynb

shreshtha05 commented 3 years ago

thanks