biobert icon indicating copy to clipboard operation
biobert copied to clipboard

Provide QA BioASQ previous version

Open abdallah197 opened this issue 4 years ago • 1 comments

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 avatar Feb 01 '21 12:02 abdallah197