salesforce / GeDi

GeDi: Generative Discriminator Guided Sequence Generation
https://arxiv.org/abs/2009.06367
BSD 3-Clause "New" or "Revised" License
208 stars 47 forks source link

num_return_sequences parameter not working in model.generate function. #5

Closed rishabhjain closed 3 years ago

rishabhjain commented 3 years ago

I have been trying to get a look at different generated sequences from same prompt and topic. This can usually be done by setting num_return_sequences parameter > 1. Is it possible to use this parameters when GeDi is controlling GPT2?

Is there any other way to look at multiple generated outputs from same set of prompt and topic?

janleemark commented 2 years ago

I also encountered this problem, have you to solve it?