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

KeyError: 'disease' #19

Closed
jamshaidsohail5 opened this issue May 4, 2020 · 4 comments
Closed

KeyError: 'disease' #19

jamshaidsohail5 opened this issue May 4, 2020 · 4 comments

Comments

@jamshaidsohail5
Copy link

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
Copy link
Author

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
Copy link

@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
Copy link
Author

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
Copy link

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

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

2 participants