toward-controlled-generation-of-text-pytorch
toward-controlled-generation-of-text-pytorch copied to clipboard
How to create a demo?
Hi! Thanks for your work. I'm trying to train this model on lyrics and create conditional text for demo. However, how do you do something like below? Thanks!
input_lyric = "Sky is high and ocean is blue."
output_lyric = some_function(input_lyric, latent_emotion = "sad")
print(output_lyric) # expect something like: 'Oh sad sky there is'
Did you get it working ?
Hi @JunhaoWang @yonilx , sorry for the late reply. The code is not complete yet, and I'm still working around with the issue #7 . I think I might implement the flow of models incorrectly. Any advice is welcome !