ValueError: Connection error, and we cannot find the requested files in the cached path #9959
-
I managed to use a third part transformer model, but spacy failed to download the model from huggingface
Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Can you paste the full error, with stack trace? If the download failed but the model is actually on the hub, it's possible it was a transient error and you can just try again. I'm not aware of any hub outage at the moment, but occasionally random failures do happen. |
Beta Was this translation helpful? Give feedback.
-
Thank you response, please see error detail below, it is something about internet error, but I did training on colab, so I think internet should be OK. |
Beta Was this translation helpful? Give feedback.
-
I replced 'voidful/albert_chinese_tiny' with 'bert-base-uncased', the error was gone. so I think it's possible that spacy can not find model name looking like a path(contains '/') ? I have resolved the problem by pointing name to my local model directory. |
Beta Was this translation helpful? Give feedback.
-
configurations like above works well. |
Beta Was this translation helpful? Give feedback.
configurations like above works well.