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

Is it possible to apply PPLM to encoder-decoder models (such as BERT2GPT2) #30

Open
nooralahzadeh opened this issue Nov 24, 2020 · 3 comments

Comments

@nooralahzadeh
Copy link

No description provided.

@andreamad8
Copy link

Hi @nooralahzadeh,

yes, it is possible. Just need to get the activation, attentions matrix, of both enc-dec.

Andrea

@monkdou0
Copy link

monkdou0 commented May 6, 2021

IF it is possible, what's the input of the discriminator?
The encoder hidden state or the decoder hidden state or both?

@andreamad8
Copy link

I think the decoder hidden state should work, but the perturbation can be for both the encoder and the decoder.

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

3 participants