Failed to connect to huggingface.co

这篇具有很好参考价值的文章主要介绍了Failed to connect to huggingface.co。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

在国内huggingface.co被墙了。可以使用Huggingface 镜像站https://hf-mirror.com/来解决这个问题。
解决方法:

# vim ~/.bashrc
export HF_ENDPOINT=https://hf-mirror.com

然后再source ~/.bashrc
当访问 huggingface.co 时,将会直接替换为本站域名hf-mirror.com。文章来源地址https://www.toymoban.com/news/detail-752322.html

到了这里,关于Failed to connect to huggingface.co的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 完美解决org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘co

    已解决org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’] 下滑查看解决方法 org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’] 对于org.gradle.api.internal.plugins.PluginApplicationException: Failed

    2024年02月02日
    浏览(33)
  • 出现了HTTPSConnectionPool(host=‘huggingface.co‘, port=443)错误的解决方法

    在下载huggingface 模型的时候,经常会出现这个错误,HTTPSConnectionPool(host=‘huggingface.co’, port=443),即使你已经有了正确的上网姿势。 如在下载Tokenizer的时候, 就会出现以上的错误HTTPSConnectionPool(host=‘huggingface.co‘, port=443)。 解决的办法可以有两种。 1.直接下载模型 第一种方

    2024年02月08日
    浏览(29)
  • ubuntu中解决Failed to connect to 127.0.0.1 port xxxxx: Connection refused ubuntu中解决Failed to connect to 127.0.0.1 port xxxxx: Connection refused

              查看一下代理 git config --global http.proxy git config --global https.proxy        有就取消,没有就换一种方法 git config --global --unset http.proxy git config --global --unset https.proxy            查看系统环境有没有使用代理         出现以下类似的配置          如果有相

    2023年04月14日
    浏览(37)
  • 报错解决MaxRetryError(“HTTPSConnectionPool(host=‘huggingface.co‘, port=443):xxx“)

    首先造成这种错误的原因主要是因为你的服务器没有办法连接huggingface的原因,你可以直接在你的服务器上尝试能否直接ping 那我的机器就是没有数据传输过来,当然前提是你自己的服务器一定要有网络连接(可以尝试ping www.baidu.com来检测自己机器是否有网络)。 使用VPN,这

    2024年02月08日
    浏览(31)
  • 解决Failed to connect to github.com port 443:Connection refused

    如题,在终端执行git clone时提示Failed to connect to github.com port 443:Connection regused错误 解决方案如下: 本地有连接vpn,通过在终端输入以下命令解决: git config --global http.proxy http://127.0.0.1:7890 说明:7890为本地混合配置的端口号

    2024年02月13日
    浏览(46)
  • Failed to connect to github.com port 443: Connection timed out

    使用git clone出现的这个问题,这个问题一般是使用翻墙代理软件引起的 一:取消代理(一般取消后 也不能正常使用git clone,因为没翻墙。。。,网速特好时偶尔也可以) 二:设置正确的代理端口号 随后设置正确的代理端口,如: 然后就可以正常使用了

    2024年01月23日
    浏览(42)
  • RemotingConnectException: connect to <null> failed

    rocketmq  /conf/broker.conf 配置 namesrvAddr=139.*.*.60:9876 brokerIP1=139.*.*.60  启动文件 echo \\\"启动nameserer\\\" nohup sh bin/mqnamesrv sleep 5 echo \\\"启动broker\\\" nohup sh bin/mqbroker -n 139.224.194.60:9876 -c conf/broker.conf   本地客户端代码/main/resources/application.properties 客户端启动命令 java -jar target/rocketmq-console-ng

    2024年02月14日
    浏览(24)
  • 报错解决:Failed to connect to github.com port 443: Connection refuesd

    今天在用git下载时遇到错误: Cloning into \\\'xxxxx\\\'... fatal: unable to access \\\'https://github.com/xxxxxxxx.git/\\\': Failed to connect to github.com port 443: Connection refused 查询后尝试以下方法解决: 1.查看自己的本机系统代理(设置---网络和Internet---代理---地址:端口): 2.修改git配置:(其中的xxxx改为你

    2024年02月04日
    浏览(44)
  • git clone 报错Failed to connect to localhost port 7891: Connection refused

    system: ubuntu18.04 pc: lenovo thinkpad p15v gen1 电脑有安装VPN软件,git clone 报错 Failed to connect to localhost port 7891: Connection refused,尝试了多种方法,都没有效果,最后是这篇文章解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误_failed connect to 拒绝连接_点亮~

    2024年02月10日
    浏览(32)
  • Failed to connect to bitbucket.org port 443

    浏览器可以访问bitbucket,但是在终端或者sourcetree上死活无法进行pull, push等操作。 Root Cause:“【翻】【墙】软件”使用了http proxy,所以也得为git设置相同的http proxy。 所以,解决方法是: 1,查看“【翻】【墙】软件”所使用的http proxy 2,给git设置相同的http proxy   在终端执

    2024年02月13日
    浏览(24)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包