tensor2tensor
tensor2tensor copied to clipboard
transformer-ae, how to sample c(s) and get diversified decoding
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