Private data and wget?
I used wget to retrieve data from my space on colab.  It worked as long as it was public, but I made it private so it now no longer works.  How do I insert a passcode, or PAT as I had to do with github?edit:  Let me add I have tried this but I get invalid user/password (even though the UAT is 100% valid) "https://USER:*password*@huggingface.co/datasets/GeneralAwareness/Various/blob/main/file.zip"
2023-04-04T16:07:11Z
You need to add the authorization header towget:wget --header="Authorization: Bearer <HF_TOKEN>" hf/file/download/url(replace<HF_TOKEN>with your HF token)
2023-04-04T18:29:52Z
I don’t understand. Instead of thehttps://USER:xxxxxx/xxxx/xx.zip above, I replace that with --header=“Authorization: Bearer <HF_TOKEN>” then “https://huggingface.co/datasets/GeneralAwareness/Various/blob/main/file.zip” where the HF_TOKEN is one that I created?
2023-04-04T19:40:02Z
hi@GeneralAwarenesshere is the command, replaceHF_TOKENwith aread tokenwget  --header="Authorization: Bearer HF_TOKEN" https://huggingface.co/datasets/GeneralAwareness/Various/resolve/main/file.zip
2023-04-04T20:26:18Z
Good, I did understand afterall.Thank you everyone.
2023-10-23T18:43:59Z
I have a follow-up question.  I am trying to load some of the ShapeNetCore zip files (I have gotten access) in colab,  but using Hugging Face login fails. Another person suggested the above approach.  Is there a way to access my token after I login and pass it into the header?  I have used .env files in VSC, but not sure of best practices in colab.