Moving my own trained model to huggingface hub

Hi ,

I trained a BERT and Pytorch model with my data set on Google Colab, now I want to move the trained model to Hub so I can use it on my account like other pre-trained models.

I do not know how to save and move the model I trained to huggingface.

Thank you

Hi @staceythompson,

We have a guide on how to upload models via usual Git approach here.

If you want programmatic access, you can also use our huggingface_hub Python library. There’s documentation on how to upload models here.