[go: nahoru, domu]

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

attention中QKV矩阵问题 #457

Open
maxingc opened this issue Feb 19, 2023 · 1 comment
Open

attention中QKV矩阵问题 #457

maxingc opened this issue Feb 19, 2023 · 1 comment

Comments

@maxingc
Copy link
maxingc commented Feb 19, 2023

作者你好,请问为什么attention中QKV直接使用的输入x,而没有经过QKV矩阵变换呢?

@gaochonghan
Copy link

models/attn.py中的149-151行已经做了矩阵变换

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