Optimus icon indicating copy to clipboard operation
Optimus copied to clipboard

additional sampling scheme

Open vseledkin opened this issue 5 years ago • 1 comments

Currently, text is generated from latent point by sampling from distributions produced by generator over vocabulary of tokens. But since z is multivariate gaussian we can also sample from it thus having more diversity and nuances in generated samples.

vseledkin avatar May 21 '20 13:05 vseledkin

You are right about my current implementation, and I agree it will increase diversity. I‘m bit afraid that adding randomness in latent space may delude the latent trajectory, one has to carefully choose random samples by checking its distance to its Gaussian mean.

ChunyuanLI avatar May 22 '20 07:05 ChunyuanLI