# How to push save trainer + model to hub?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-push-save-trainer-model-to-hub%2F19108%3E%5C
**Category:** 🤗Hub\
**Created:** [June 13, 2022, 2:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-push-save-trainer-model-to-hub%2F19108 "2022-06-13T14:30:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeremiahZ](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@JeremiahZ](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJeremiahZ)%5C
**Post date:** [June 13, 2022, 2:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-push-save-trainer-model-to-hub%2F19108%2F1 "2022-06-13T14:30:37Z")

</div>

Hi, I have a saved trainer and saved model from previous training, using transformers 4.20.0.dev0. I do notice that there is a nice model card automatically created when passing `push_to_hub=True` to `TrainingArguments` and then calling `trainer.push_to_hub()`. I wonder if there is a way to push the previously saved trainer to hub and to achieve the same result, since the only difference between these two trainers lies in that the former was not pushed.
