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

How did you generate the heatmap plots for the attentions? #53

Open
JoaoLages opened this issue May 21, 2021 · 2 comments
Open

How did you generate the heatmap plots for the attentions? #53

JoaoLages opened this issue May 21, 2021 · 2 comments

Comments

@JoaoLages
Copy link

image

@senthurRam33
Copy link

In enc_dec.py in class EncDecModel and method begin_inference you have a variable enc_state that holds the heatmap data I think. Not so sure.

If you plot that you will get something like this:
sns

@manzambi11
Copy link

@senthurRam33 can you share you code please

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