# How do I load a fine tuned model?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-load-a-fine-tuned-model%2F5419%3E%5C
**Category:** 🤗Transformers\
**Created:** [April 11, 2021, 9:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-load-a-fine-tuned-model%2F5419 "2021-04-11T21:25:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamapythongeek](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@iamapythongeek](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fiamapythongeek)%5C
**Post date:** [April 11, 2021, 9:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-load-a-fine-tuned-model%2F5419%2F1 "2021-04-11T21:25:07Z")

</div>

I did the IMDB BERT distil fine tuning from this tutorial on the docs, [Fine-tuning with custom datasets — transformers 4.5.0.dev0 documentation (huggingface.co)](https://huggingface.co/transformers/custom_datasets.html#resources). I used the transformers module TFTrainer. After the training, I saved the model with both, .save and .save\_pretrained(). The saved model was generated and saved to disk. Now, I want to use that model for inference. How do I do that?
