tensor2tensor
tensor2tensor copied to clipboard
how to generate multiple samples for the same input in a generate task
Description
I've trained a model to rewrite a sentence to different way. every time i predict a sentence the model give me the same answer. is it possible to generate multiple samples? for example: inputs: i am happy output1: i am cheerful output2: i am pleasant output3: i'm so happly
thanks
--decode_hparams="beam_size=4,alpha=0.1,return_beams=True"