Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove repo_id validation in hf_hub_url and hf_hub_download #1031

Merged
merged 2 commits into from
Sep 5, 2022

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Sep 5, 2022

@sgugger Sorry I realized I merged #1029 without removing the validation for hf_hub_url and hf_hub_download. As repo_id="datasets/.../..." is used in transformers I guess it's better to remove the validation for now until transformers is updated. Since I'm not exactly sure how critical/problematic this is, I let you tell me what you prefer to do. I can also put a warning message for wrong usage if you think it's not damaging the user experience.

My only concern is that we set validation back whenever possible and at most in a few releases (v0.12 ?). Your call :)

(cc @LysandreJik also)

Related: #1008, #1029 (comment) and #1029 (comment)

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 5, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reverting! If we release on a monthly basis, v0.12 would be in ~2 and a half months which sounds good to me.

@Wauplin Wauplin merged commit 75847f1 into main Sep 5, 2022
@Wauplin Wauplin deleted the 1008-no-validator-for-hf-hub-url-for-now branch September 5, 2022 12:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants