Rasa学习笔记(四):训练模型方法提炼

在nlu.yml中添加意图和相应的训练样本。

在rules.yml中为相应的意图添加回答方法。

在domain.yml中添加相应的意图和回答方法。如果只修改domain.yml,重新训练的时候速度会很快,提示Core stories/configuration did not change. Only the templates section has been changed. A new model with the updated templates will be created.

关于重新训练模型

相关资料

https://www.it1352.com/2168663.html

2021-02-23

To date, the most recent Github issue on the topic states there is no way to retrain a model adding just the new utterances. Same for previous issues cited therein.

You're right: having to retrain periodically with increasingly long files gets more and more time-consuming. Although, retraining in place is not a good idea in production.

Saving model all the time (with a timestamp) is good because it makes rollbacks easier (and they will happen in production systems). I th

猜你喜欢

转载自blog.csdn.net/dragon_T1985/article/details/114651042