when I use
cache_dir = "/home/yjy/cache/transformers"
model = AutoModelForCausalLM.from_pretrained(model_name, cache_dir=cache_dir)
and found:
OSError: We couldn't connect to 'https://huggingface.co' to load this file
"Connection error, and we cannot find the requested files in"
huggingface_hub.utils._errors.LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the disk cache. Please try again or make sure your Internet connection is on.
do anyone knows why
Checklist
[X] I have provided all relevant and necessary information above.
[X] I have chosen a suitable title for this issue.
Required prerequisites
Questions
when I use cache_dir = "/home/yjy/cache/transformers" model = AutoModelForCausalLM.from_pretrained(model_name, cache_dir=cache_dir) and found: OSError: We couldn't connect to 'https://huggingface.co' to load this file "Connection error, and we cannot find the requested files in" huggingface_hub.utils._errors.LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the disk cache. Please try again or make sure your Internet connection is on. do anyone knows why
Checklist