feat(docs): Add documentation for EU-specific gated models - #1874
Merged
Charlie-Boyer merged 2 commits intoAug 18, 2025
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Charlie-Boyer
force-pushed
the
add-restrict-eu-gated-doc
branch
4 times, most recently
from
August 15, 2025 14:24
72611e4 to
6b89d1d
Compare
Charlie-Boyer
force-pushed
the
add-restrict-eu-gated-doc
branch
from
August 15, 2025 14:24
6b89d1d to
deecde2
Compare
Charlie-Boyer
marked this pull request as ready for review
August 15, 2025 14:27
Vaibhavs10
approved these changes
Aug 16, 2025
pcuenca
approved these changes
Aug 16, 2025
|
|
||
| ### Restricting Access for EU Users | ||
|
|
||
| For gated models, you can add an additional layer of access control to specifically restrict users from European Union countries. This is useful if your model's license or terms of use prohibit its distribution in the EU. |
Member
There was a problem hiding this comment.
Suggested change
| For gated models, you can add an additional layer of access control to specifically restrict users from European Union countries. This is useful if your model's license or terms of use prohibit its distribution in the EU. | |
| Gated repositories can be configured with an additional layer of access control to disallow access from European Union countries. This is useful if your license or terms of use prohibit distribution in the EU. |
Not specific to models, I think (even though the rest of file does mention models everywhere).
Contributor
Author
There was a problem hiding this comment.
this is the model doc, we have another one for datasets https://huggingface.co/docs/hub/en/datasets-gated
maybe I should add this info here also, wdyt @Vaibhavs10 ?
Member
There was a problem hiding this comment.
Ah yes, you're right! Sure, we can do that here or in a follow-up PR, as you wish.
pcuenca
approved these changes
Aug 18, 2025
Member
|
(nit) not a big fan of documenting this feature publicly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new section to the models-gated.md and datasets-gated.md documentation, explaining the extra_gated_eu_disallowed feature.
Context https://huggingface.slack.com/archives/C02EMARJ65P/p1755258926052309