# Load custom model trained with trainer

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-custom-model-trained-with-trainer%2F53028%3E%5C
**Category:** Beginners\
**Created:** [August 31, 2023, 7:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-custom-model-trained-with-trainer%2F53028 "2023-08-31T19:11:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magicrulli](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Magicrulli](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMagicrulli)%5C
**Post date:** [August 31, 2023, 7:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-custom-model-trained-with-trainer%2F53028%2F1 "2023-08-31T19:11:05Z")

</div>

Hi, I am new to the HF library. I was training BERT from scrath for a task that was not related to NLP but sequence classification. I have succesfully trained BERT with a custom number of neurons at the output layer (21 to be precise). I have downloaded every single file inside the folder that was created as a checkpoint, is that enough to load my model? Because I can see that there are files that indicate to contain the model’s weights. If I can load the model, how do I do it? I have been researching but I could not find anything.  
Thank you.
