pypi huggingface-hub 0.0.11
v0.0.11: Improved documentation, `hf_hub_download` and `Repository` power-up

latest releases: 0.26.2, 0.26.1, 0.26.0...
3 years ago

v0.0.11: Improved documentation, hf_hub_download and Repository power-up

Improved documentation

The huggingface_hub documentation is now available on hf.co/docs! Additionally, a new step-by-step guide to adding libraries is available.

New method: hf_hub_download

A new method is introduced: hf_hub_download. It is the equivalent of doing cached_download(hf_hub_url()), in a single method.

Repository power-up

The Repository class is updated to behave more similarly to git. It is now impossible to clone a repository in a folder that already contains files.

The PyTorch Mixin contributed by @vasudevgupta7 is slightly updated to have the push_to_hub method manage a repository as one would from the command line.

Improvement & Fixes

Don't miss a new huggingface-hub release

NewReleases is sending notifications on new releases.