# \`rasa train\` vs\`rasa train nlu\`?

**URL:** <https://forum.rasa.com/t/rasa-train-vs-rasa-train-nlu/15437>\
**Category:** Rasa Open Source\
**Created:** [September 9, 2019, 6:02pm UTC](https://forum.rasa.com/t/rasa-train-vs-rasa-train-nlu/15437 "2019-09-09T18:02:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathanpwheat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jonathanpwheat/32/4880_2.png) [@jonathanpwheat](https://forum.rasa.com/u/jonathanpwheat)\
**Post date:** [September 9, 2019, 6:02pm UTC](https://forum.rasa.com/t/rasa-train-vs-rasa-train-nlu/15437/1 "2019-09-09T18:02:52Z")

</div>

Sorry if this an obvious question, but what is the difference between running

`rasa train` and `rasa train nlu`?

I see if I run `rasa train nlu`, I have a new model in data that starts with `nlu`

Is one better than the other? Should I do both?

---

<div class="post-metadata">

**Author:** ![hsm207](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hsm207/32/2647_2.png) [@hsm207](https://forum.rasa.com/u/hsm207)\
**Post date:** [September 10, 2019, 1:17am UTC](https://forum.rasa.com/t/rasa-train-vs-rasa-train-nlu/15437/2 "2019-09-10T01:17:37Z")

</div>

`rasa train nlu` will train the nlu component only.

`rasa train` will train both the nlu and core (the dialogue engine) components.

If you are only interested in using rasa for its nlu capabilities, then `rasa train nlu` is sufficient.

---

<div class="post-metadata">

**Author:** ![jonathanpwheat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jonathanpwheat/32/4880_2.png) [@jonathanpwheat](https://forum.rasa.com/u/jonathanpwheat)\
**Post date:** [September 10, 2019, 11:12am UTC](https://forum.rasa.com/t/rasa-train-vs-rasa-train-nlu/15437/3 "2019-09-10T11:12:24Z")

</div>

Thank you, that’s kind of what I was thinking, but then I was following this tutorial and it has both commands in there.

> **[Build Contextual Assistants with Rasa Forms](https://rasa.com/blog/building-contextual-assistants-with-rasa-formaction/)**
>
> In this tutorial, you'll learn how to use the new FormPolicy in Rasa to build an AI assistant capable of making restaurant suggestions.

---

<div class="post-metadata">

**Author:** ![hsm207](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hsm207/32/2647_2.png) [@hsm207](https://forum.rasa.com/u/hsm207)\
**Post date:** [September 11, 2019, 1:57am UTC](https://forum.rasa.com/t/rasa-train-vs-rasa-train-nlu/15437/4 "2019-09-11T01:57:04Z")

</div>

In that tutorial, the author first wants to train the NLU component, so she calls `rasa train nlu` (Step 1). In Step 7, the author wants to train the dialogue management component, so she calls `rasa train` which will train both the NLU and dialogue management component.

It’s worth pointing out that if you have called `rasa train nlu` before and have made no changes to your nlu training data since that call, then calling `rasa train` will skip the NLU training and only train the dialogue management component.
