tensor2tensor icon indicating copy to clipboard operation
tensor2tensor copied to clipboard

transformer-ae, how to sample c(s) and get diversified decoding

Open 2877992943 opened this issue 8 years ago • 0 comments

according to the paper,DISCRETE AUTOENCODERS FOR SEQUENCE MODELS mentioned that diverse decode can be achieved by "Using a model with access to the autoencoded part c(s) presents us with another option: sample c(s) and then run beam search for the sequence s appropriate for that c(s)." is there any example code for that ? appreciate your suggestion. thanks

2877992943 avatar Jun 06 '18 11:06 2877992943