shuxinyin / NER-Pytorch-Chinese

Implemention of NER model on chinese dataset.
MIT License
64 stars 10 forks source link

repo id 错误 #3

Open July199 opened 1 year ago

July199 commented 1 year ago

您好,我再运行这个train.py文件时,出现以下错误: huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'NER-Pytorch-Chinese-master/data/Learn_Project/Backup_Data/bert_chinese'. Use repo_type argument if needed. 这个错误是为什么呢?需要怎么处理呀?

shuxinyin commented 1 year ago

这个应该是你的预训练模型权重路径不对,可以检查一下看看。