HanLP icon indicating copy to clipboard operation
HanLP copied to clipboard

段错误

Open benshan123 opened this issue 1 year ago • 1 comments

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.

benshan123 avatar May 05 '25 12:05 benshan123

HanLP itself doesn't use any C extentions so it's not a bug caused by HanLP.

hankcs avatar May 06 '25 03:05 hankcs