dmis-lab / bern

A neural named entity recognition and multi-type normalization tool for biomedical text mining
https://bern.korea.ac.kr
BSD 2-Clause "Simplified" License
173 stars 44 forks source link

KeyError: 'disease' #19

Closed jamshaidsohail5 closed 4 years ago

jamshaidsohail5 commented 4 years ago

Hi. I was able to set up the repo successfully and also resolved the PubTator File not found error from #4 . Now I am getting the below error. issue

If I scroll above a little in the terminal. I am getting this.

issue1

Any help would be highly appreciated.

jamshaidsohail5 commented 4 years ago

The command below didn't download the pre-trained models in the above directory so I had to manually download it by opening the script file and getting the Google drive link. After that I placed the downloaded file in the respective directory as mentioned above and it worked.

sh download_biobert_ner_models.sh

huangdanqi commented 3 years ago

@jamshaidsohail5 hello, I have the same problem. I do the "sh download_biobert_ner_models.sh", however, it can not solve my problem.

Here is my error. I hope you can give some advice. image

image

jamshaidsohail5 commented 3 years ago

Hi. Open this file "download_biobert_ner_models.sh" in notepad and then understand. You would see the google drive links of the models. Just download them and place them in the respective directory as the bash file is doing. Then repeat the process. You will see that the error will go away :)

huangdanqi commented 3 years ago

Thank you for your answer. I will try it!😊