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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃嚪馃嚜 馃О Fix negative score shape for SLCWA #624

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

mberr
Copy link
Member

@mberr mberr commented Nov 9, 2021

the SLCWA training loop gave the flattened version of negative scores, instead of the original shape, even if no filtering was used. This caused the softmax in NSSA to normalize across batch-elements, leading to erroneous behavior for sum reduction.

cf. #618 (comment)

@mberr mberr mentioned this pull request Nov 9, 2021
3 tasks
@cthoyt cthoyt changed the title Fix negative score shape for SLCWA 馃嚪馃嚜 馃О Fix negative score shape for SLCWA Nov 9, 2021
@cthoyt cthoyt merged commit 313c705 into master Nov 9, 2021
@cthoyt cthoyt deleted the fix-nssa-loss-shape branch November 9, 2021 11:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants