How to calculate the parameters that are DIET classify and response selector, in pipeline of config file

Hi, I am building rasa bot that includes too much utter responses, custom actions, nlu intents, stories and rules.

It worked fine when my code was smaller than it is now. But, when I write huge amount of codes, my bot doesn’t work correctly like what I write. For now, althought I am changing the number of epochs in DIET classifier and Response Selector in pipeline, I can’t find correct numbers that fit in my bot.

I need to know how to adjust parameters of config.yml. Is there any formula that calculate amount of epochs in DIET classifier and Response selector?

Can I have some helps, please thanks. And let me know if you need to see any part of my code, then I can show you.