Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在引入MITIE库后,模型没法正常保存 #80

Open
subjalke opened this issue Dec 7, 2024 · 0 comments
Open

在引入MITIE库后,模型没法正常保存 #80

subjalke opened this issue Dec 7, 2024 · 0 comments

Comments

@subjalke
Copy link

subjalke commented Dec 7, 2024

运行python -m rasa train --config configs/config.yml --domain configs/domain.yml --data data/命令,训练大约40分钟模型后,无法保存,以下是部分报错:
raise Exception("Unable to save named_entity_extractor to the file " + to_default_str_type(filename));
Exception: Unable to save named_entity_extractor to the file C:\Users\天选\AppData\Local\Temp\tmpu4e10ape\nlu\component_2_MitieEntityExtractor.dat

以下我写的测试文件引入MITIE库后的报告:
(rasa) PS C:\ChitChatAssistant-master> python error_test.py
操作失败,可能没有写入权限或其他问题。错误信息: Unable to load named entity extractor from path\to\your\MITIE-models\english\ner_model.dat
显示MITIE缺乏ner_model.dat模型,但是我在其源码中找不到ner_model.dat,应该需要独立训练?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant