I am not accustomed to using pretrained large models provided by huggingface and need some helps.
When downloading pretranied models from huggingface_hub, for example, DialoGPT, I face the “FileNotFoundError: [Errno 2] No such file or directory” error !
Specifically, the directory where the pretrained models are downloaded is “/.cache/huggingface/hub/models–microsoft–DialoGPT-small/refs/main”, but the directory just ends up with “/.cache/huggingface/hub/models–microsoft–DialoGPT-small”.
And, FileNotFoundError pops up displaying “[Errno 2] No such file or directory: ‘/.cache/huggingface/hub/models–microsoft–DialoGPT-small/refs/main’” message.
What do I have to do with this error? Please help me.