I am trying to update a file in a dataset.
When running my code locally, it works, but when I transfer it into the hugginface servers, I get an access error. The data set is private but I provide the token.
I get the following error:
Repository Not Found for url: https://huggingface.co/api/datasets/ImpMedLab/query_log/preupload/main.
Please make sure you specified the correct repo_id
and repo_type
.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
Note: Creating a commit assumes that the repo already exists on the Huggingface Hub. Please use create_repo
if it’s not the case.