biobert-pytorch icon indicating copy to clipboard operation
biobert-pytorch copied to clipboard

can't run QA with albert

Open abdallah197 opened this issue 4 years ago • 0 comments

I run into an assertion error from the conversion every time I use albert, the QA factoid script runs normally with BERT and RoBerta, but when using AlBERT this error

File "/GW/Health-Corpus/work/UMLS/experiments/qa/biobert-pytorch/question-answering/utils_qa.py", line 100, in transform_n2b_factoid
    assert len(multiQid)==(24+4) # all multiQid should have length of 24 + 3

abdallah197 avatar Feb 03 '21 20:02 abdallah197