add check if repo exists for dataset uploading
NONE
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7565). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
2025-05-19T14:53:04Z
https://github.com/huggingface/datasets/pull/7565#issuecomment-2891333833
https://api.github.com/repos/huggingface/datasets/issues/7565
IC_kwDODunzps6sVkDJ
https://api.github.com/repos/huggingface/datasets/issues/comments/2891333833/reactions
2025-05-19T14:53:04Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2891333833
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
NONE
@lhoestq Can you review, please? I don't think that errors in CI are related to my changes
2025-06-09T14:39:22Z
https://github.com/huggingface/datasets/pull/7565#issuecomment-2955998665
https://api.github.com/repos/huggingface/datasets/issues/7565
IC_kwDODunzps6wMPXJ
https://api.github.com/repos/huggingface/datasets/issues/comments/2955998665/reactions
2025-06-09T14:39:22Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2955998665
https://avatars.githubusercontent.com/u/36135455?v=4
https://api.github.com/users/Samoed/events{/privacy}
https://api.github.com/users/Samoed/followers
https://api.github.com/users/Samoed/following{/other_user}
https://api.github.com/users/Samoed/gists{/gist_id}
https://github.com/Samoed
Samoed
MDQ6VXNlcjM2MTM1NDU1
https://api.github.com/users/Samoed/orgs
https://api.github.com/users/Samoed/received_events
https://api.github.com/users/Samoed/repos
https://api.github.com/users/Samoed/starred{/owner}{/repo}
https://api.github.com/users/Samoed/subscriptions
User
https://api.github.com/users/Samoed
public
Currently, I'm reuploading datasets for [`MTEB`](https://github.com/embeddings-benchmark/mteb/). Some of them have many splits (more than 20), and I'm encountering the error:
`Too many requests for https://huggingface.co/datasets/repo/create`.

It seems that this issue occurs because the dataset tries to recreate itself every time a split is uploaded. To resolve this, I've added a check to ensure that if the dataset already exists, it won't attempt to recreate it.