# "checkpoint\_model: true" not working

**URL:** <https://forum.rasa.com/t/checkpoint-model-true-not-working/48481>\
**Category:** Rasa Open Source\
**Created:** [October 13, 2021, 5:57pm UTC](https://forum.rasa.com/t/checkpoint-model-true-not-working/48481 "2021-10-13T17:57:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradyneal](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bradyneal/32/17028_2.png) [@bradyneal](https://forum.rasa.com/u/bradyneal)\
**Post date:** [October 13, 2021, 5:57pm UTC](https://forum.rasa.com/t/checkpoint-model-true-not-working/48481/1 "2021-10-13T17:57:28Z")

</div>

I can’t seem to get model checkpointing working. Here’s the relevant bit from my config.yml file:

```auto
  - name: DIETClassifier
    epochs: 100
    evaluate_on_number_of_examples: 50
    evaluate_every_number_of_epochs: 1
    checkpoint_model: true
    constrain_similarities: true

```

I’ve tried running training for 5 epochs. I expect it to save a new model checkpoint after every epoch (if the new checkpoint is better than the last). However, I don’t see it saving any model checkpoints in the models folder when I run `rasa train` or in the “checkpoints” folder when I run `rasa train --out checkpoints`. Any idea what I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [October 14, 2021, 9:35am UTC](https://forum.rasa.com/t/checkpoint-model-true-not-working/48481/2 "2021-10-14T09:35:53Z")

</div>

What version of Rasa are you using?

I think, but I could be wrong, that the `--out` folder is meant for the final model. Per the [docs](https://rasa.com/docs/rasa/next/components#dietclassifier):

```auto
+---------------------------------+------------------+--------------------------------------------------------------+
| checkpoint_model | False | Save the best performing model during training. Models are |
| | | stored to the location specified by `--out`. Only the one |
| | | best model will be saved. |
| | | Requires `evaluate_on_number_of_examples > 0` and |
| | | `evaluate_every_number_of_epochs > 0` |
+---------------------------------+------------------+--------------------------------------------------------------+

```

---

<div class="post-metadata">

**Author:** ![bradyneal](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bradyneal/32/17028_2.png) [@bradyneal](https://forum.rasa.com/u/bradyneal)\
**Post date:** [October 14, 2021, 1:04pm UTC](https://forum.rasa.com/t/checkpoint-model-true-not-working/48481/3 "2021-10-14T13:04:35Z")

</div>

Rasa version: 2.8.6
