How to use the trained model in my own huggingface repo

Hi there,
I use colab to train a model and push the trained model to my private huggingface repo.
I am wondering how I can use the model in my local machine? I know I can specify the huggingface existing model and I also know that if I train and save a model locally then I can specify the local path to load that model. But what if the model in the repo?

Login to HuggingFace > Click on Profile (top right) > Click on your username > It will load your profile page > Click on the model you want to use. It should have your username/name-of-model at the top left with a copy button next to it. That is what you would put instead of another HuggingFace model.

1 Like