File size: 404 Bytes
5fa1a76
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
pip install huggingface_hub
Then use notebook_login to sign-in to the Hub, and follow the link here to generate a token to login with:

from huggingface_hub import notebook_login
notebook_login()

Convert a model for all frameworks
To ensure your model can be used by someone working with a different framework, we recommend you convert and upload your model with both PyTorch and TensorFlow checkpoints.