Skip to content

Commit 168c204

Browse files
author
Loïc Say
committed
feat(collection): gating group
1 parent b27277a commit 168c204

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

docs/hub/collections.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Collections have many use cases:
1111
- Showcase and share a complete project with its paper(s), dataset(s), model(s) and Space(s).
1212
- Bookmark things you find on the Hub in categories.
1313
- Have a dedicated page of curated things to share with others.
14+
- Gate a group of models/datasets (Enterprise only)
1415

1516
This is just a list of possible uses, but remember that collections are just a way of grouping things, so use them in the way that best fits your use case.
1617

@@ -54,6 +55,14 @@ Use the **history feature** to keep track of who has edited the collection.
5455

5556
Set your collection to **private** if you don't want it to be accessible via its URL (it will not be displayed on your profile/organization page). For organizations, private collections are only available to members of the organization.
5657

58+
### Gating Group Collection (Enterprise only)
59+
60+
For [Enterprise](https://huggingface.co/docs/hub/en/enterprise-hub) subscribers, you can gate all the repos in a collection, enabling **access requests** for all models and datasets in it.
61+
62+
This feature allows you to restrict access to specific collections: users must agree to share their contact information (username and email address) with the organization to access the models and datasets files when enabled.
63+
64+
Please note that this feature is only available to Enterprise subscribers: more information about Gating Group Collection can be found in [our doc](https://huggingface.co/docs/hub/en/enterprise-hub-gating-group-collections).
65+
5766
### Ordering your collections and their items
5867

5968
You can use the drag and drop handles in the collections list (on the left side of your collections page) to change the order of your collections (1). The first two collections will be directly visible on your profile/organization pages.
@@ -85,7 +94,6 @@ To start adding images to your collection, you can click on the image icon in th
8594

8695
Then, add images by dragging and dropping images from your computer. You can also click on the gray zone to select image files from your computer's file system.
8796

88-
8997
![Collection image drop zone with images](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/collections-image-gallery.webp)
9098

9199
You can re-order images by drag-and-dropping them. Clicking on an image will open it in full-screen mode.

docs/hub/datasets-gated.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ extra_gated_button_content: "Acknowledge license"
125125
---
126126
```
127127

128+
### Manage gated datasets as an organization (Enterprise)
129+
130+
For [Enterprise](https://huggingface.co/docs/hub/en/enterprise-hub) subscribers, you can gate all the repos in a Gating Group collection, enabling **access requests** for all datasets (and/or models) in it.
131+
132+
More information about Gating Group collections can be found in [our doc](https://huggingface.co/docs/hub/en/enterprise-hub-gating-group-collections).
133+
128134
## Access gated datasets as a user
129135

130136

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Gating Group Collections
2+
3+
<Tip warning={true}>
4+
This feature is part of the <a href="https://huggingface.co/enterprise">Enterprise Hub</a>.
5+
</Tip>

docs/hub/enterprise-hub.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ In this section we will document the following Enterprise Hub features:
2323
- [Tokens Management](./enterprise-hub-tokens-management)
2424
- [Analytics](./enterprise-hub-analytics)
2525
- [Network Security](./enterprise-hub-network-security)
26+
- [Gating Group Collections](./enterprise-hub-gating-group-collections)
2627

2728
Finally, Enterprise Hub includes 1TB of [private repository storage](./storage-limits) per seat in the subscription, i.e. if your organization has 40 members, then you have 40TB included storage for your private models and datasets.

docs/hub/models-gated.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ Possible use cases of programmatic management include:
139139
- Here's an [example repo](https://huggingface.co/Trelis/openchat_3.5-function-calling-v3) from TrelisResearch that uses this use case.
140140
- [@RonanMcGovern](https://huggingface.co/RonanMcGovern) has posted a [video about the flow](https://www.youtube.com/watch?v=2OT2SI5auQU) and tips on how to implement it.
141141

142+
### Manage gated models as an organization (Enterprise)
143+
144+
For [Enterprise](https://huggingface.co/docs/hub/en/enterprise-hub) subscribers, you can gate all the repos in a Gating Group collection, enabling **access requests** for all models (and/or datasets) in it.
145+
146+
More information about Gating Group collections can be found in [our doc](https://huggingface.co/docs/hub/en/enterprise-hub-gating-group-collections).
147+
142148
## Access gated models as a user
143149

144150

0 commit comments

Comments
 (0)