TianRanPig / chinese_ner

中文命名实体识别:BERT-BiLSTM-CRF模型实现中文,数据集使用CLUENER2020
52 stars 9 forks source link

预测功能报错, BertTokenizer.from_pretrained(model_path)有问题 #1

Open LtStarZq2 opened 2 years ago

LtStarZq2 commented 2 years ago

BertTokenizer.from_pretrained(model_path)读取不了模型

759658007 commented 1 year ago

BertTokenizer.from_pretrained(model_path)读取不了模型

安装dill库,我的是0.3.7版本的

sore-2001 commented 4 months ago

BertTokenizer.from_pretrained(model_path)读取不了模型

安装dill库,我的是0.3.7版本的

你好,我在安装完该库之后还是报错 huggingfacehub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'D:\Users\Desktop\latelyCode\codeUtils\chineseNer\torchNer\output\clue_ner\20220417160929\'. 我已经将下划线等字符,但结果还是报错