Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question Label-Conditional Text Generation #7

Open
Diego999 opened this issue Jun 5, 2020 · 1 comment
Open

Question Label-Conditional Text Generation #7

Diego999 opened this issue Jun 5, 2020 · 1 comment

Comments

@Diego999
Copy link

Diego999 commented Jun 5, 2020

Dear authors,

First, thank you for sharing the code!

I was interested in the experiment of Label-Conditional Text Generation. I would have some questions about the losses.

  1. loss_lsd corresponds to equation 16 of the paper. and loss_lsg I guess complement the equation 16. Is there a reason why this is not mentioned in Eq 16?

  2. I have the feeling that loss_encode cancels out loss_lsc when added together in loss. Is it correct?

  3. What would be needed to change to handle, for example, 3 classes? Ony this ?

Thanks a lot for your answers!

@eslambakr
Copy link

Dear @Diego999

Thanks for your question, actually I benefit from it a lot.

I am trying to run the Label-Conditional Text Generation experiment too, but unfortunately, I didn't find the entry point for the training where there is no code call the class "Ctrl_Gen".
Thus, if you managed to train it it would be appreciated if you can guide me.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants