You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
第一次接触huggingface系列,按照项目的requirements安装了相关依赖后在使用_load_sbert_model.import_from_string读取模型文件时报错:
ImportError: cannot import name 'DatasetInfo' from 'huggingface_hub.hf_api' (C:\ProgramData\Anaconda3\lib\site-packages\huggingface_hub\hf_api.py)
第一次接触huggingface系列,按照项目的requirements安装了相关依赖后在使用_load_sbert_model.import_from_string读取模型文件时报错:
ImportError: cannot import name 'DatasetInfo' from 'huggingface_hub.hf_api' (C:\ProgramData\Anaconda3\lib\site-packages\huggingface_hub\hf_api.py)
看了看依赖里面确实缺少了这一个DatasetInfo,且在datasets中也没找到,请问这个如何解决?
The text was updated successfully, but these errors were encountered: