If you are a premium user and want your model to be private, just add private=True to this call.
If you are a member of an organization and want to push it inside the namespace of the organization instead of yours,
just add organization=my_amazing_org.
Add new files to your model repo
Once you have pushed your model to the hub, you might want to add the tokenizer, or a version of your model for another
framework (TensorFlow, PyTorch, Flax). This is super easy to do! Let's begin with the tokenizer. You can add it to the
repo you created before like this
python
tokenizer.push_to_hub("my-awesome-model")
If you know its URL (it should be https://huggingface.co/username/repo_name), you can also do:
python
tokenizer.push_to_hub(repo_url=my_repo_url)
And that's all there is to it! It's also a very easy way to fix a mistake if one of the files online had a bug.
