段错误
Describe the bug 加载模型报错
Code to reproduce the issue import hanlp tok = hanlp.load(hanlp.pretrained.tok.COARSE_ELECTRA_SMALL_ZH)
Describe the current behavior 报错如下: If the problem persists, please submit an issue to https://github.com/hankcs/HanLP/issues/new?labels=bug&template=bug_report.md When reporting an issue, make sure to paste the FULL ERROR LOG below. ================================ERROR LOG BEGINS================================ OS: Linux-5.4.0-150-generic-x86_64-with-glibc2.28 Python: 3.10.0 段错误 (core dumped)
Expected behavior
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- Python version:
- HanLP version:
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.
HanLP itself doesn't use any C extentions so it's not a bug caused by HanLP.