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

OSError: Model name 'med_kg/ner_model/outputs/1101medselfner-finetune/bert' was not found in model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, bert-base-multilingual-uncased, bert-base-multilingual-cased, bert-base-chinese, bert-base-german-cased, bert-large-uncased-whole-word-masking, bert-large-cased-whole-word-masking, bert-large-uncased-whole-word-masking-finetuned-squad, bert-large-cased-whole-word-masking-finetuned-squad, bert-base-cased-finetuned-mrpc, bert-base-german-dbmdz-cased, bert-base-german-dbmdz-uncased). We assumed 'med_kg/ner_model/outputs/1101medselfner-finetune/bert' was a path or url to a configuration file named config.json or a directory containing such a file but couldn't find any such file at this path or url. #12

Open
loongchanGit opened this issue Mar 6, 2024 · 2 comments

Comments

@loongchanGit
Copy link

OSError: Model name 'med_kg/ner_model/outputs/1101medselfner-finetune/bert' was not found in model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, bert-base-multilingual-uncased, bert-base-multilingual-cased, bert-base-chinese, bert-base-german-cased, bert-large-uncased-whole-word-masking, bert-large-cased-whole-word-masking, bert-large-uncased-whole-word-masking-finetuned-squad, bert-large-cased-whole-word-masking-finetuned-squad, bert-base-cased-finetuned-mrpc, bert-base-german-dbmdz-cased, bert-base-german-dbmdz-uncased). We assumed 'med_kg/ner_model/outputs/1101medselfner-finetune/bert' was a path or url to a configuration file named config.json or a directory containing such a file but couldn't find any such file at this path or url.
这个报错怎么解决,文件也解压到对应的文件夹了

@secret12138
Copy link

同学你好,你解决了吗,遇到了同样的问题

@kangchouapp
Copy link

yes,I HAVE 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

3 participants