zjunlp / DeepKE

[EMNLP 2022] An Open Toolkit for Knowledge Graph Extraction and Construction
http://deepke.zjukg.cn/
MIT License
3.52k stars 682 forks source link

NER任务执行run_bert.py报错 #398

Closed zhousuyu1111 closed 9 months ago

zhousuyu1111 commented 9 months ago

已将bert-base-chinese下载到/DeepKE/example/ner/standard/bert-base-chinese,执行run_bert.py报错如下:ValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/root//PythonProject/DeepKE/example/ner/standard/bert-base-chinese'. Use repo_type argument if needed.

请问应该怎么解决

xxupiano commented 9 months ago

可以检查下config里模型路径有没有写错

zhousuyu1111 commented 9 months ago

谢谢!已解决