huridocs / pdf_paragraphs_extraction

MIT License
49 stars 7 forks source link

Bump huggingface-hub from 0.12.0 to 0.13.3 #59

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps huggingface-hub from 0.12.0 to 0.13.3.

Release notes

Sourced from huggingface-hub's releases.

Patch release v0.13.3

Patch to fix symlinks in the cache directory. Relative paths are used by default whenever possible. Absolute paths are used only on Windows when creating a symlink betweenh 2 paths that are not on the same volume. This hot-fix reverts the logic to what it was in huggingface_hub<=0.12 given the issues that have being reported after the 0.13.2 release (huggingface/huggingface_hub#1398, huggingface/diffusers#2729 and huggingface/transformers#22228)

Hotfix - use relative symlinks whenever possible huggingface/huggingface_hub#1399 @​Wauplin

Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.13.2...v0.13.3

Patch release v0.13.2

Patch to fix symlinks in the cache directory. All symlinks are now absolute paths.

Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.13.1...v0.13.2

Patch release v0.13.1

Patch to fix upload_folder when passing path_in_repo=".". That was a breaking change compared to 0.12.1. Also added more validation around the path_in_repo attribute to improve UX.

Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.13.0...v0.13.1

v0.13.0: download files to a specific folder, documentation, duplicate spaces, and more

Download files to a specific folder

It is now possible to download files from the Hub and move them to a specific folder!

Two behaviors are possible: either create symlinks or move the files from the cache. This can be controlled with the local_dir_use_symlinks input parameter. The default -and recommended- value is "auto" which will duplicate small files to ease user experience (no symlinks when editing a file) and create symlinks for big files (save disk usage).

from huggingface_hub import snapshot_download
# or "from huggingface_hub import hf_hub_download"

Download and cache files + duplicate small files (<5MB) to "my-folder" + add symlinks for big files

snapshot_download(repo_id, local_dir="my-folder")

Download and cache files + add symlinks in "my-folder"

snapshot_download(repo_id, local_dir="my-folder", local_dir_use_symlinks=True)

Duplicate files already existing in cache and/or download missing files directly to "my-folder"

snapshot_download(repo_id, local_dir="my-folder", local_dir_use_symlinks=False)

Documentation

Efforts to improve documentation have continued. The guides overview has been refactored to display which topics are covered (repository, upload, download, search, inference, community tab, cache, model cards, space management and integration).

Upload / Download files

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)