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

argmax sliding_window tiebreaker bug #1554

Open
fenri-sulfr opened this issue Oct 19, 2023 · 0 comments
Open

argmax sliding_window tiebreaker bug #1554

fenri-sulfr opened this issue Oct 19, 2023 · 0 comments

Comments

@fenri-sulfr
Copy link

https://github.com/ThilinaRajapakse/simpletransformers/blob/76d980159c1c67918e7c427a1859262759efc384/simpletransformers/classification/classification_model.py#L1587C29-L1587C29

When there's a tie for the modal argmax in sliding window, it defaults to a tie_value of 1, outputting 1 as the predicted label
I think it's meant to get the 1st result instead?

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