# Does "resume\_from\_checkpoint" work?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdoes-resume-from-checkpoint-work%2F19350%3E%5C
**Category:** Beginners\
**Created:** [June 19, 2022, 6:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdoes-resume-from-checkpoint-work%2F19350 "2022-06-19T18:11:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaier](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Shaier](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FShaier)%5C
**Post date:** [June 19, 2022, 6:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdoes-resume-from-checkpoint-work%2F19350%2F1 "2022-06-19T18:11:22Z")

</div>

From the documentation it seems that `resume_from_checkpoint` will continue training the model from the last checkpoint. But when I call `trainer.train()` it seems to delete the last checkpoint and start a new one:

```auto
Saving model checkpoint to ./results_distilbert-base-uncased/checkpoint-500
...
Deleting older checkpoint [results_distilbert-base-uncased/checkpoint-5000] due to args.save_total_limit

```

Does it really continue training from the last checkpoint (i.e., 5000) and just starts the count of the new checkpoint at 0 (saves the first after 500 steps – “checkpoint-500”), or does it simply not continue the training?
