timbmg / Sentence-VAE

PyTorch Re-Implementation of "Generating Sentences from a Continuous Space" by Bowman et al 2015 https://arxiv.org/abs/1511.06349
580 stars 152 forks source link

How to get the init hidden state of LSTM? #10

Open JianLiu91 opened 5 years ago

JianLiu91 commented 5 years ago

LSTM decoder use h_0 and c_0 as init state, how to get the two values from z?

JianLiu91 commented 5 years ago

Besides, can you model successfully recovery an original sentence in the training set, by using the mean value?