yixinL7 / BRIO

ACL 2022: BRIO: Bringing Order to Abstractive Summarization
327 stars 43 forks source link

Running too slow when using gen_candidate.py to generate candidates #26

Open aidejieceng opened 1 year ago

aidejieceng commented 1 year ago

I use the summary model trained based on pegasus-base. On the RTX 8000 GPU card, it takes several seconds for each row of training data to generate candidates, which is too slow. When I need to generate candidate summaries for 5,000,000 data, it takes a very long time. How to speed up the generation of candidates?

thaokimctu commented 1 year ago

In my case, I reduced the number of candidate summaries, split my data into smaller files and used google colab to run multiple notebook at the same time.