cdqa-suite / cdQA

⛔ [NOT MAINTAINED] An End-To-End Closed Domain Question Answering System.
https://cdqa-suite.github.io/cdQA-website/
Apache License 2.0
614 stars 191 forks source link

ValueError: For training, each question should have exactly 1 answer. #348

Closed rafacast77 closed 4 years ago

rafacast77 commented 4 years ago

Please be sure that there's no other issue regarding the same bug by searching in older issues and that the bug is particular to cdQA (sometimes you can find a fix for the bug by doing a quick search on google).

Describe the bug Im following your tutorial but when adding the SQuAD data base for fine tunning is giving me an error: ValueError: For training, each question should have exactly 1 answer.

Screenshots image

image

rafacast77 commented 4 years ago

I have fixed it, it looks like SQuAD v2 has 3 repetitive answers per questions and this model doesen't likes that