To add a model for another backend, it's also super easy. Let's say you have fine-tuned a TensorFlow model and want to
add the pytorch model files to your model repo, so that anyone in the community can use it. The following allows you to
directly create a PyTorch version of your TensorFlow model:
```python
from transformers import AutoModel
model = AutoModel.from_pretrained(save_directory, from_tf=True)
```
You can also replace save_directory by the identifier of your model (username/repo_name) if you don't
have a local save of it anymore. Then, just do the same as before:
python
model.push_to_hub("my-awesome-model")
or
python
model.push_to_hub(repo_url=my_repo_url)
Use your terminal and git
Basic steps
In order to upload a model, you'll need to first create a git repo. This repo will live on the model hub, allowing
