Delete all old models under "models" before training new model

I want to delete all old i.e. already created models from models folder before training or while training. I found that there an option of –out with rasa train command which will move newly created model under specified folder name, but this is not helping me with what I want to achieve. Also I could not find any command which will help me with deleting all old models.

Please help

Where are you training the bot? Locally or on Rasa X? If locally, go to models folder inside your project directory and delete pre-existing model files manually. Rasa X also provides you with the functionality of deleting trained model files.

hey @gaushh, i want to delete all old models automatically with a command with rasa train. btw i am training bot locally

run

rmdir models

before running

rasa train

2 Likes