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

About visualization of routed region and attention map #12

Open
go-ahead-maker opened this issue Apr 25, 2023 · 1 comment
Open

About visualization of routed region and attention map #12

go-ahead-maker opened this issue Apr 25, 2023 · 1 comment

Comments

@go-ahead-maker
Copy link

Hi author,
BiFormer is such inspiring work! I wonder if you could provide the demo code for the visualization of the routed key-value region, or describe how can i get similar results in Figure 4 of the paper.

Thanks a lot!

@rayleizhu
Copy link
Owner

rayleizhu commented Apr 26, 2023

I will release the visualization demo notebook by the end of next month. If you need it right away, you can go ahead and implement it by yourself. It is not technically challenging, though there are many trivial routines.

See also #7 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants