dome run exception,how to solve this problem?

#1
by youxun - opened

OSError: Can't load tokenizer for 'IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese' is the correct path to a directory containing all relevant files for a DebertaV2TokenizerFast tokenizer.

中国无法直接下载huggingface上的模型,你可以手动从页面上下载,然后保存到某个目录。

然后把 'IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese' 替换成你电脑上的绝对目录。

中国无法直接下载huggingface上的模型,你可以手动从页面上下载,然后保存到某个目录。

然后把 'IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese' 替换成你电脑上的绝对目录。

仓库里好像并没有tokenizer相关的文件,是这个原因导致无法加载tokenizer的吗?

Sign up or log in to comment