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

nlu如何更改训练次数 #85

Open
chl916185 opened this issue Feb 14, 2019 · 2 comments
Open

nlu如何更改训练次数 #85

chl916185 opened this issue Feb 14, 2019 · 2 comments

Comments

@chl916185
Copy link

我在rasa_nlu下没找到训练次数的修改参数,您能指导下吗
words in dictionary: 26649
num features: 271
now do training
C: 20
epsilon: 0.01
num threads: 1
cache size: 5
max iterations: 2000

max iterations: 2000这个值怎么更改呢

@weihaibin
Copy link

这个是mitie中设置的,在ner_trainer.cpp里面有。c++写的

@weihaibin
Copy link

线程数可以在 mitie_entity_extractor train方法中 trainer.num_threads=kwargs.get("num_threads",10)
其他的应该好像需要改mitie源码
ner_trainer.cpp 文件只trainer.set_num_threads(num_thread) 其他的属性都写死了

如果有其他方法 你再尝试吧

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

2 participants