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

attention maps code #5

Open
taewhankim opened this issue Oct 27, 2024 · 1 comment
Open

attention maps code #5

taewhankim opened this issue Oct 27, 2024 · 1 comment

Comments

@taewhankim
Copy link

Thank you for sharing your amazing project.
Do you have any plans to share the code to extract the attentions map like in figure 1?
I want to use it to extract an attentions map for zero shot performance.

@byminji
Copy link

byminji commented Oct 30, 2024

Hi @taewhankim, thank you for your interest in our work. We modified the attention visualization code in this repo. Specifically, we used max head fusion. Hope this helps :)

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