neulab / guided_summarization

GSum: A General Framework for Guided Neural Abstractive Summarization
MIT License
113 stars 27 forks source link

Unable to run z_bpe.sh file #59

Open 13brindarao opened 1 year ago

13brindarao commented 1 year ago

Hi I am new to running the files on colab and tried running this file for my thesis. I have created all the train.bpe.source, train.bpe.target... files under the input_files_bpe folder.

When I run z_bpe.sh I get the below error.

Error while finding module specification for 'examples.roberta.multiprocessing_bpe_encoder' (ModuleNotFoundError: No module named 'examples.roberta')

Am I missing something here? Thank you.!

vedantgannu commented 11 months ago

Use fairseq.examples.roberta.multiprocessing_bpe_encoder. I think the original bash file assumes you're in the fairseq directory