-
Notifications
You must be signed in to change notification settings - Fork 23
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
Question about running example prediction script #15
Comments
Hi , thanks for noticing! This is a recent bug do to a format change in MultiQA, i've fixed it and pushed the changes. Can you please try again? |
Thanks.
Can you please check this error? |
Thanks, i've pushed another fix. Also added a test under pytests/predict_test.py |
Thanks. I ran it again and gave the following error:
I had thought there was anything wrong in my code. After I checked it again and refered to the example and test script, I didn't find my script was wrong. Can you please check this error? |
I'm sorry but i ran the tests and the prediction on SQUAD1-1 : And got a correct result: And what command did you run it? |
Thanks for replying. The only problem might be I used to run it on GPU by specifying
which can also be found in the notebook. |
Hi thanks for this great work!
I was trying to run the example prediction script provided in the readme and I got the error
max() arg is an empty sequence
.To reproduce the error, I created a notebook here
Any thoughts on how to sove this issue? Thanks!
Edit:
Is it caused by this line? Why do we want to return empty {} when there is a header.
MultiQA/models/multiqa_predictor.py
Line 9 in aba17d3
The text was updated successfully, but these errors were encountered: