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

Data leakage #1

Open
xbh0720 opened this issue Nov 22, 2021 · 1 comment
Open

Data leakage #1

xbh0720 opened this issue Nov 22, 2021 · 1 comment

Comments

@xbh0720
Copy link

xbh0720 commented Nov 22, 2021

alphas=nn.Softmax(dim=1)(att_w)
should be masked

@xbh0720 xbh0720 closed this as completed Nov 22, 2021
@xbh0720 xbh0720 reopened this Nov 22, 2021
@lilstrawberry
Copy link

Yes, the future information is used when calculating the attention value of each state of the sequence, resulting in inflated performance

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