The `use_auth_token` argument is deprecated and will be removed in v5 of Transformers

Hi there,
I am using the use_auth_token to download weights of my private models. I saw that it will be deprecated and I would like to know how I will be able to authenticate without using huggingface-cli. I want to have everything in a python script.

Thank you

1 Like