pypi huggingface-hub 0.2.0
v0.2.0: Access tokens, skip large files, local files only

latest releases: 0.24.2, 0.24.1, 0.24.0...
2 years ago

Access tokens

Version v0.2.0 introduces the access token compatibility with the hub. It offers the access tokens as the main login handler, with the possibility to still login with username/password when doing [Ctrl/CMD]+C on the login prompt:

image

The notebook login is adapted to work with the access tokens.

Skipping large files

The Repository class now has an additional parameter, skip_lfs_files, which allows cloning the repository while skipping the large file download.

#472

Local files only for snapshot_download

The snapshot_download method can now take local_files_only as a parameter to enable leveraging previously downloaded files.

#505

Don't miss a new huggingface-hub release

NewReleases is sending notifications on new releases.