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

训练时的mask #19

Open
Ariel-lu opened this issue Aug 19, 2023 · 3 comments
Open

训练时的mask #19

Ariel-lu opened this issue Aug 19, 2023 · 3 comments

Comments

@Ariel-lu
Copy link

您好,想问一下为什么在训练的时候mask矩阵中非padding的位置要用2标注而不是1呢?

@taishan1994
Copy link
Owner

您好,想问一下为什么在训练的时候mask矩阵中非padding的位置要用2标注而不是1呢?

貌似是个bug,修改了下。

@yunkai-zhang
Copy link

还是有这个问题

@taishan1994
Copy link
Owner

还是有这个问题

具体是哪个地方有问题。

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

3 participants