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

Regarding the figures in the article #44

Closed
camallia1 opened this issue Jan 15, 2024 · 3 comments
Closed

Regarding the figures in the article #44

camallia1 opened this issue Jan 15, 2024 · 3 comments

Comments

@camallia1
Copy link

![0a44f215308c893ddd6ebc228675cd1]
Hello, I am a beginner. May I ask how the heat map about attention mechanism in the article is drawn, and how can I create variables for drawing images?Could you please give me an example?

@WenWeiTHU
Copy link
Collaborator

It is the attention scores from the trained model by passing an input multivariate series and then visualized, which is formulated as follows:

图片

@camallia1
Copy link
Author

Thank you for your answer. How should I call the A matrix in FullAttention? Could you give me a code example

@WenWeiTHU
Copy link
Collaborator

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