加载MSRA_NER_ALBERT_BASE_ZH失败
LUOQING1994 opened this issue · comments
Describe the bug
A clear and concise description of what the bug is.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Describe the current behavior
使用pip install --upgrade hanlp[full]安装最新版本的hanlp,并使用ner = hanlp.load(hanlp.pretrained.ner.MSRA_NER_ALBERT_BASE_ZH)进行模型加载,但报如下错误:
Expected behavior
期望能正常加载
System information
- OS Platform and Distribution:inux-5.4.0-139-generic-x86_64-with-glibc2.27
- Python version:3.8.0
- HanLP version:2.1.0-beta.46
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
- I've completed this form and searched the web for solutions.