赞
踩
使用代理下载huggingface的evaluate load metrics
from evaluate import load
from evaluate.utils.file_utils import DownloadConfig
dc=DownloadConfig()
dc.proxies={'http': 'http://127.0.0.1:9981', 'https': 'http://127.0.0.1:9981'}
smape_metric = load("evaluate-metric/smape",download_config=dc)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。