-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
Add attention visualization tool #36630
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Hi, I was trying to visualize the attention mask for Gemma 3 but I get
For reference, sharing relevant excerpts of the code:
|
Hey ! Will work a bit to make it more easy to use! THanks 🤗 |
Doing a first review, so happy about this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing
Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github.com>
…mers into attention-utilities
What does this PR do?
TODOS
cc @yonigozlan and @zucchini-nlp @molbap
This will be available as: