Warnings coming from Huggingface-hub update
See original GitHub issueHello! Since huggingface-hub
has been updated to 0.8.1, sentence-transformers
triggers the following warnings:
FutureWarning: snapshot_download.py has been made private and will no longer be available from version 0.11. Please use
from huggingface_hub import snapshot_download to import the only public function in this module. Other members of the file may be changed without a deprecation notice.
FutureWarning: cached_download is the legacy way to download files from the HF hub, please consider upgrading to hf_hub_download
cached_download
seems to be used extensively in the codebase, and is causing those warnings
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Warnings coming from Huggingface-hub update - Python 博客
Hello! Since huggingface-hub has been updated to 0.8.1, sentence-transformers triggers the following warnings: FutureWarning: snapshot_download.py has been ...
Read more >What to do when you get an error - Hugging Face Course
In this section we'll look at some common errors that can occur when you're trying to generate predictions from your freshly tuned Transformer...
Read more >huggingface-hub - Python Package Health Analysis - Snyk
Downloading and caching files from a Hub repository. Creating repositories and uploading an updated model every few epochs. Extract metadata from all models ......
Read more >huggingface-hub - PyPI
The Hugging Face Hub is a platform with over 35K models, 4K datasets, ... Creating repositories and uploading an updated model every few...
Read more >"Some weights of the model checkpoint at bert-base-uncased ...
Are the pre-trained model weights also getting updated (fine-tuned) or only ... I haven't changed anything but suddenly this warning came up is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for raising this point. I’m currently updating sentence-transformers to work well with huggingface-hub 0.8.1
Thanks for your help, I couldn’t upgrade readily to huggingface-hub 0.8.1 (system is using python3.6), so I installed sentence-transformers v 2.2.0.