Data (messages) for NLU model section changed

After retraining a model with only story-based changes, I get this:

2021-11-15 12:05:16 INFO     rasa.model  - Data (stories) for Core model section changed.
2021-11-15 12:05:16 INFO     rasa.model  - Data (messages) for NLU model section changed.
2021-11-15 12:05:18 INFO     rasa.model  - Data (stories) for Core model section changed.
2021-11-15 12:05:18 INFO     rasa.model  - Data (messages) for NLU model section changed.

This seems to happen from time to time. If I retrain a model after making changes ONLY to the stories (not the domain or nlu data), it sometimes retrains the NLU model as well.

As far as I know, changes nlu data would give the Data (messages) for NLU model section changed. message, while changes to the domain would give something like Data (domain) for Core section changed.

I’ve verified it several times. The only changes have been:

  • changes in a custom action
  • adding a couple of stories
  • modifying existing stories

There have been no modifications to entities, slots or intents.

So my question is: why does Rasa say there’s a change in stories when there’s not (this happens only some times)

2 Likes

There are some known issues with fingerprinting models in 2.x that should be addressed in 3.0. I fighting this issue also. Might be worth time to look at the source code for this and make your own build that ignores that Data (messages) issue.

3 Likes