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的时候不需要mask #40

Closed
LLH1818 opened this issue Oct 13, 2023 · 0 comments
Closed

为什么预训练时,做attention的时候不需要mask #40

LLH1818 opened this issue Oct 13, 2023 · 0 comments

Comments

@LLH1818
Copy link

LLH1818 commented Oct 13, 2023

初学者请教一下。为什么flash版本attention没有mask,manual版本也是score + mask,不应该是score * mask吗

@LLH1818 LLH1818 changed the title 为什么预训练attention的时候不需要mask 为什么预训练时,做attention的时候不需要mask Oct 13, 2023
@LLH1818 LLH1818 closed this as completed Oct 16, 2023
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