Getting error - ValueError: Can't find 'adapter_config.json'

#1
by suryakan - opened

Hi, I ran the code as it is and getting this error -

TypeError: hf_hub_download() got an unexpected keyword argument 'torch_dtype'

During handling of the above exception, another exception occurred:

ValueError: Can't find 'adapter_config.json' at
'curiousily/alpaca-bitcoin-tweets-sentiment'

Tried googling but couldn't find anything to fix it. Any suggestions are appreciated.

hi @suryakan ,

i was running into the same issue.
please check the actual line and python-file where the error comes from.

the issue was solved for me when i deleted the optional parameters in generate.py "torch_dtype=torch.float16"
https://huggingface.co/transformers/v4.10.1/main_classes/model.html

hope it helps!

Oh got it. Thanks.

Sign up or log in to comment