OSError: We couldn‘t connect to ‘https://huggingface.co‘ to load this file,

场景:训练bert-base-chinese下游任务:分类。在一个服务器可以用,但GPU只有一个卡,只能换一个服务器,换个服务器又要重装环境,但后者下载模型有问题,手动用git-lfs下载后指定位置报错:

Traceback (most recent call last):

/examples/pytorch/text-classification/run_glue.py", line 622, in

    main()

/examples/pytorch/text-classification/run_glue.py", line 486, in main

    metric = evaluate.load("accuracy")

/python3.9/site-packages/evaluate/loading.py", line 731, in load

    evaluation_module = evaluation_module_factory(

/python3.9/site-packages/evaluate/loading.py", line 681, in evaluation_module_factory

你可能感兴趣的:(Notebook,huggingface,bert,分类,大模型)