Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add Collection API (create, list, add to collection, delete?) #1682

Closed
Wauplin opened this issue Sep 20, 2023 · 3 comments
Closed

Add Collection API (create, list, add to collection, delete?) #1682

Wauplin opened this issue Sep 20, 2023 · 3 comments

Comments

@Wauplin
Copy link
Contributor

Wauplin commented Sep 20, 2023

Collections are a new way to aggregate models, datasets, spaces and papers in a single "collection" page. For example: https://huggingface.co/collections/TheBloke/recent-models-64f9a55bb3115b4f513ec026

Would be great to add support for it in huggingface_hub. It still requires some work on the backend to make the API accessible via a user access token.

Mostly a utils to add for power users but still great as it helps discoverability on the Hub. No need to implement everything at once. Creating and updating a collection (add/remove item) should be the priority.

@julien-c
Copy link
Member

julien-c commented Sep 20, 2023

also in the same issue (i guess) to document the endpoints in hub-docs/api.md =)

bonus: revamp the ugly table in that document:)

@Wauplin
Copy link
Contributor Author

Wauplin commented Sep 22, 2023

Re: revamp the ugly table in that document:) Let's start with that and iterate once we agree on the layout. Opened a PR there: huggingface/hub-docs#962.

@Wauplin
Copy link
Contributor Author

Wauplin commented Sep 25, 2023

I opened a separate issue for the hub-docs part: huggingface/hub-docs#967. Will close this issue now as the huggingface_hub is now complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants