# How to use an already trained RASA model in Okteto Deployment?

**URL:** <https://community.okteto.com/t/how-to-use-an-already-trained-rasa-model-in-okteto-deployment/354>\
**Category:** Help\
**Created:** [November 18, 2022, 4:08pm UTC](https://community.okteto.com/t/how-to-use-an-already-trained-rasa-model-in-okteto-deployment/354 "2022-11-18T16:08:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Canta](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@Canta](https://community.okteto.com/u/Canta)\
**Post date:** [November 18, 2022, 4:08pm UTC](https://community.okteto.com/t/how-to-use-an-already-trained-rasa-model-in-okteto-deployment/354/1 "2022-11-18T16:08:32Z")

</div>

Hi all,

Since my files are really big and training takes a lot of resources I was wondering whether there is the possibility of uploading a trained RASA model instead of training on in the cloud?

I trained a model locally and would like to use it in Okteto deployment. It runs well in my docker containers locally but when I want to deploy it in Okteto I get this error message:

> rasa-server/usr/local/lib/python3.7/site-packages/rasa/shared/utils/io.py:99: UserWarning: No valid model found at models!

This is the command I use in docker-compose to run the model (and which works nicely locally) but as I said I get the above error message.

```auto
 command: bash -c "rasa run --model finalmodel.tar.gz --enable-api --cors \"*\" --debug --port 5006"

```

Before that it says:

> Loading model models/finalmodel.tar.gz…

Hope someone can help me with this!

---

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)\
**Post date:** [May 7, 2024, 7:16pm UTC](https://community.okteto.com/t/how-to-use-an-already-trained-rasa-model-in-okteto-deployment/354/2 "2024-05-07T19:16:42Z")

</div>


