question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warnings coming from Huggingface-hub update

See original GitHub issue

Hello! 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:closed
  • Created a year ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
nreimerscommented, Jun 22, 2022

Thanks for raising this point. I’m currently updating sentence-transformers to work well with huggingface-hub 0.8.1

0reactions
i-am-neocommented, Jun 25, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found