# How can I load specific checkpoint of trained model

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-load-specific-checkpoint-of-trained-model%2F17269%3E%5C
**Category:** 🤗Transformers\
**Created:** [April 28, 2022, 7:01am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-load-specific-checkpoint-of-trained-model%2F17269 "2022-04-28T07:01:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwonmha](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kwonmha](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkwonmha)%5C
**Post date:** [April 28, 2022, 7:01am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-load-specific-checkpoint-of-trained-model%2F17269%2F1 "2022-04-28T07:01:42Z")

</div>

With `from_pretrained` function, only `pytorch_model.bin` file is allowed to be loaded.  
If I saved multiple checkpoints during training, how can I load them?
