Cannot login into huggingface hub from Paperspace
Hello,I’m trying to login into huggingface hub from a notebook in Paperspace service, and after pasting the access token and clicking on the login button below, nothing happens.image1216×845 86.2 KBI’ve contacted their support, and they told me their support is limited because huggingface is a 3rd party software.I must add that I could successfully connect from Google Colab notebok. However, from huggingface hub, I tried to save the token in a file, as mentioned at this topicHow to login to Huggingface Hub with Access Token - #14 by BackfiringDatsun, but still, I could not connect.Any ideas?
2022-10-06T18:50:42Z
I am having the same issue. Wondering if you have found a solution?
2022-10-06T20:06:49Z
No solution found yet
2022-10-26T02:01:45Z
Here is my solution: first open a terminal, my way is to go from paperspace notebook to jupyterlab notebook, and create a terminal from launcher page, then runhuggingface-cli loginin the terminal then paste your huggingface hub token. Now go back to the notebook, you should be able to load your model and dataset by passinguse_auth_token=Trueindatasets.load_datasetfunction.
2022-12-02T14:05:06Z
For me, the solution of liujxing didn’t work, unfortunately.However, on medium is a short tutorial with a code example you can copy.Have a look here:Logging in to HuggingFace from Jupyter notebook without interactive prompt | by yash khandelwal | Medium