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

Visualization in figure 6 #12

Open
nobeldang opened this issue Nov 8, 2024 · 0 comments
Open

Visualization in figure 6 #12

nobeldang opened this issue Nov 8, 2024 · 0 comments

Comments

@nobeldang
Copy link

Hi, thank you for sharing your work. I was going through issue #3 , can you explain why taking the mean of channel dimension (e.g 768 dim) of the output from transformer will give us attention heat map? Am I missing something here?
When I do q@qT , rather than q.mean(), it gives me a bit different heat map.
Also, can you share the code you used for the visualization?
Thanks

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

1 participant