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 Script for Intermediate Buffers in Attention Estimation of BERT (Fig. 10 BERT ver.) #10

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

JinA0218
Copy link
Collaborator

@JinA0218 JinA0218 commented Jan 5, 2025

This PR implements a script for visualizing the intermediate buffers used during attention estimation in the BERT model. Specifically, this script captures and processes the attention outputs, including masking and sparse interpolation steps and save the metadata. While Figure 10 of the official paper presents visualization results for the OPT model, this script focuses on generating similar visualizations for the BERT model.

@JinA0218 JinA0218 requested a review from gmlwns2000 January 5, 2025 19:44
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

Successfully merging this pull request may close these issues.

1 participant