-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
We have trained a model using
setfit==1.0.3, nltk==3.8.1, jinja2==3.1.3,openpyxl, huggingface_hub==0.23.5,chardet
and then loading the model
huggingface_hub==0.23.5,setfit==1.0.3,sentence_transformers==2.2.2 which install dependency transformers==4.42.0
The transformers ==4.42.0 has vulnerability issues and we tried to upgrade
huggingface_hub==0.33.4 and sentence_transformers==5.0.0 which automatically upgrades transformers==4.53.2
but we get so many errors the initial starting one
from huggingface_hub import CardData, DatasetFilter, ModelCard, dataset_info, list_datasets, model_info
ImportError: cannot import name 'DatasetFilter' from 'huggingface_hub'
Not sure how to fix this version incompatibilities and vulnerabilities. Any help is much appreciated.
Metadata
Metadata
Assignees
Labels
No labels