-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading a model creates warning; its annoying. #2890
Comments
Hi @tbachlechner, have you checked it that warning still comes on the main branch? afaik this is already fixed but not released |
@helpmefindaname I see PR #2842 that was closed but not merged to master. What's the "main" branch? Is there a separate branch that goes to releases? I do see that PR is identical to mine :) |
sorry I meant the master branch. |
oh yeah all good, master is identical to my PR :D sorry about that. can't wait for that release |
In version
flair == 0.11.3
andhuggingface_hub == 0.8.1
loading a HuggingFace model creates a warning. To reproduce:This is because
flair.models.sequence_tagger_model
caches models usingfrom huggingface_hub import hf_hub_download, hf_hub_url
. This is not recommended as ofhuggingface_hub == 0.8.1
, see https://github.com/huggingface/huggingface_hub/releases. Warning is annoying.The text was updated successfully, but these errors were encountered: