DataDreamer icon indicating copy to clipboard operation
DataDreamer copied to clipboard

ModuleNotFoundError: No module named 'huggingface_hub.utils._errors'

Open AndreaFrancis opened this issue 11 months ago • 0 comments

When trying to use hf_transformers class, it throws the following error:

from datadreamer.llms.hf_transformers import HFTransformers

Error: ModuleNotFoundError: No module named 'huggingface_hub.utils._errors'

It might be due to: https://github.com/huggingface/huggingface_hub/pull/2474, where ._erros file has been removed in favor to huggingface_hub.errors

AndreaFrancis avatar Jan 08 '25 20:01 AndreaFrancis