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

不考虑GLM的双向注意力部分,注意力矩阵不是一个下三角矩阵吗 #47

Open
fxb392 opened this issue Jul 11, 2023 · 0 comments

Comments

@fxb392
Copy link

fxb392 commented Jul 11, 2023

[1., 0., 0.],
[1., 1., 0.],
[1., 1., 1.]]
类似这种。
所以attention_mask = (attention_mask < 0.5).bool()这个是不是多余的呢?

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