Push trained model to private repo

Hi,

We are able to push a trained model and the trainer to HuggingFace Hub. What we would want to know, is, if there is a way to make the push to a private repo directly.

Thanks!

Creating the repo in private mode via the Trainer is not supported, but you can create the repo manually before launching the training in private mode.

2 Likes

Thank you for the suggestion! Appreciate it :slight_smile:

Could we know the motivation of not allowing this?

Why is creating private repo only possible with models but not with the Trainer?

1 Like