build(deps): update huggingface-hub requirement from ~=0.17.3 to ~=0.18.0
Updates the requirements on huggingface-hub to permit the latest version.
Release notes
Sourced from huggingface-hub's releases.
v0.18.0: Collection API, translated documentation and more!
Collection API 🎉
Collection API is now fully supported in
huggingface_hub!A collection is a group of related items on the Hub (models, datasets, Spaces, papers) that are organized together on the same page. Collections are useful for creating your own portfolio, bookmarking content in categories, or presenting a curated list of items you want to share. Check out this guide to understand in more detail what collections are and this guide to learn how to build them programmatically.
Create/get/update/delete collection:
get_collectioncreate_collection: title, description, namespace, privateupdate_collection_metadata: title, description, position, private, themedelete_collectionAdd/update/remove item from collection:
add_collection_item: item id, item type, noteupdate_collection_item: note, positiondelete_collection_itemUsage
>>> from huggingface_hub import get_collection >>> collection = get_collection("TheBloke/recent-models-64f9a55bb3115b4f513ec026") >>> collection.title 'Recent models' >>> len(collection.items) 37 >>> collection.items[0] CollectionItem: { {'_id': '6507f6d5423b46492ee1413e', 'id': 'TheBloke/TigerBot-70B-Chat-GPTQ', 'author': 'TheBloke', 'item_type': 'model', 'lastModified': '2023-09-19T12:55:21.000Z', (...) }}>>> from huggingface_hub import create_collectionCreate collection
>>> collection = create_collection( ... title="ICCV 2023", ... description="Portfolio of models, papers and demos I presented at ICCV 2023", ... )
Add item with a note
</tr></table>
... (truncated)
Commits
f60fdbdRelease: v0.18.033b0405Addtokenparameter toHfApi'ssnapshot_downloadandhf_hub_download...6dd7ee8Dataset card template overhaul (#1708)f752932HideCommitOperationAdd's internal attributes (#1716)eca4aafMerge branch 'main' of github.com:huggingface/huggingface_hubcd904f4comment6ccc1f6Documenthf_transfermore prominently (#1714)35117fbAdd list_repo_likers method to HfApi (#1715)5d2d297Handle TGI error when streaming tokens (#1711)cbcd8b2Handlerefs/convert/parquetand PR revision correctly in hffs (#1712)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
A newer version of huggingface-hub exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.