paddlenlp加载huggingface上的预训练模型报错
收藏
在使用AutoModel加载huggingface中anferico/bert-for-patents模型时,出现
RuntimeError: Can't load tokenizer for 'anferico/bert-for-patents'.
Please make sure that 'anferico/bert-for-patents' is:
- a correct model-identifier of built-in pretrained models,
- or a correct model-identifier of community-contributed pretrained models,
- or the correct path to a directory containing relevant tokenizer files.
跪求大佬帮忙指点一二,过去只简单用过bert与ernie
0
收藏
请登录后评论
PaddleNLP Transformer预训练模型 — PaddleNLP 文档
多谢您帮忙解答