-
Notifications
You must be signed in to change notification settings - Fork 432
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
Error when setting num_candidates=1 and in dataset there's only one candidate during validation #40
Comments
I have the same problem, did you solve it? |
I think num_candidates=1 won't work without significant code modification (removing multiple choice head). I think I've said something different in a different thread, which was wrong. |
@sshleifer It seems like the problem is not the num_candidates=1. The model sees a binary classification task when there is only one candidate in the utterance sample. |
@sshleifer Do you have a workaround if I don't have multiple candidates for my dataset? |
It would require significant code modification.
there will probably be more bugs after that! |
@sshleifer Yeah, probably not worth changing the code that much. I was talking about a hack, like having the multiple-choice candidates be some random string, say "Something.". Would that work? |
Sounds like it might to me. Try it! |
When setting args.num_candidates to 1, and the actual length of the candidates list of each entry is 1, I get this error during validation:
The text was updated successfully, but these errors were encountered: