0
点赞
收藏
分享

微信扫一扫

textattack运行报错,网络原因

龙毓七七 2024-05-27 阅读 8

::: hljs-right DATE: May 26, 2024 ::: 使用textattack从hugging face下载时保存是因为国内无法正常访问hugging face,其他方法比如自己下载好数据集,传到指定目录下,我也试了,但我需要用的是glue,需要编译后使用,菜狗甚至找不到目录

raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).__name__})")
ConnectionError: Couldn't reach 'ptb_text_only' on the Hub (ConnectionError)

这里的解决办法参考了: https://github.com/PaddlePaddle/PaddleNLP/issues/8109

export HF_ENDPOINT=https://hf-mirror.com
举报

相关推荐

0 条评论