raise EnvironmentError(
OSError: We couldn’t connect to ‘https://huggingface.co’ to load this file, couldn’t find it in the cached files and it looks like facebook/hubert-large-ls960-ft is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at ‘https://huggingface.co/docs/transformers/installation#offline-mode’.
设置hugging-face镜像源:
https://zhuanlan.zhihu.com/p/689290456
生效:
source ~/.bashrc
06-28
8万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-23
1845
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)