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.
loongchanGit opened this issue · comments
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.
这个报错怎么解决,文件也解压到对应的文件夹了
同学你好,你解决了吗,遇到了同样的问题
yes,I HAVE IT !
放你的绝对路径就可以了!