goodbai-nlp / AMRBART

Code for our paper "Graph Pre-training for AMR Parsing and Generation" in ACL2022
MIT License
92 stars 28 forks source link

Question about generating text #19

Closed tingchihc closed 1 year ago

tingchihc commented 1 year ago

In the AMRBART, could we use this to generate multiple sentences?

goodbai-nlp commented 1 year ago

Hi, @ting-chih

You may try to assign num_return_sequences with n to generate n outputs for a given input.