+
80
-

huggingface的transformer模型无法下载怎么办?

huggingface的transformer模型无法下载怎么办?

一下载就报错

f"We couldn't connect to '{HUGGINGFACE_CO_RESOLVE_ENDPOINT}' to load this model, couldn't find it in the cached " OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like distilbert-base-cased-distilled-squad is not the path to a directory containing a {configuration_file} file. Checkout your internet connection or see how to run the library in offline mod


网友回复

+
0
-

人家服务器在国外,肯定是不稳定的,可以试试在google colab中免费运行,毕竟都在国外。

+
0
-

还可以试试huggface的镜像站:https://hf-mirror.com/

800_auto

我知道答案,我要回答