Use Collections to group repositories from the Hub (Models, Datasets, Spaces and Papers) on a dedicated page.
Collections have many use cases:
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.
There are several ways to create a collection:
It’s also possible to create a collection on the fly when adding the first item from a repository page, select + Create new collection from the dropdown menu. You’ll need to enter a title and short description for your collection to be created.
There are 2 ways to add items to a collection:
It’s possible to add external repositories to your collections, not just your own.
Organization collections are a great way to build collections together. Any member of the organization can add, edit and remove items from the collection. Use the history feature to keep track of who has edited the collection.
Public collections appear at the top of your profile or organization page and can be viewed by anyone. The first 3 items in each collection are visible directly in the collection preview (1). To see more, the user must click to go to the collection page.
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.
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.
You can also sort repositories within a collection by dragging the handles next to each item (2).
To delete an item from a collection, click the trash icon in the menu that shows up on the right when you hover over an item (1). To delete the whole collection, click delete on the right-hand menu (2) - you’ll need to confirm this action.
It’s possible to add a note to any item in a collection to give it more context (for others, or as a reminder to yourself). You can add notes by clicking the pencil icon when you hover over an item with your mouse. Notes are plain text and don’t support markdown, to keep things clean and simple. URLs in notes are converted into clickable links.
We’re working on improving collections, so if you have any bugs, questions, or new features you’d like to see added, please post a message in the dedicated discussion.