How to push trained models and save it privately on hub?

Hi, I have already trained a few models and now I want to push all models to the hub but keep them private.

1 Like

Hi,

Pushing to the private hub is as easy as model.push_to_hub(private=True)

I have use same line for pushing model, tokenizer but how to push training args?

1 Like

same line for pushing model
+1

Sure, here’s the docs: Models

1 Like