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

Provide QA BioASQ previous version #158

Open
abdallah197 opened this issue Feb 1, 2021 · 1 comment
Open

Provide QA BioASQ previous version #158

abdallah197 opened this issue Feb 1, 2021 · 1 comment

Comments

@abdallah197
Copy link

abdallah197 commented Feb 1, 2021

Hi BioBERT team

would it be possible to share the datasets provided previously before the new preprocessing? Previously I could run the QA script on the evaluation files directly but now I keep running into an error

  File "/home/abashir/anaconda3/envs/mpi/lib/python3.7/site-packages/transformers/data/processors/squad.py", line 670, in _create_examples
    answers = qa["answers"]
KeyError: 'answers'

I updated the datasets because whenever I try to run the biocodes script on the predictions I run into an assertion error

assert len(multiQid) == (24+4) # Please use the lateset version of QA datasets. All multiQids should have length of 24 + 4 (3 for Sub id)

If I commented the line. the code runs normally though, what difference will it make?

@abdallah197
Copy link
Author

@wonjininfo @jhyuklee

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