Transformers-cli - Python SDK

Hey All,
I was wondering does the transformers-cli library have a Python equivavelnt?
I would love to create a python script which would allow me to upload a model within a single enviroment.
For example:

  1. Login to HF with a token (similar to transformers)
  2. Create a model repo
  3. Push the model to the model hub

Thanks

1 Like