本地GPU环境下,基于“mgeo_backbone_chinese_base”底座模型进行微调,本地环境无法联网,使用文档示例的数据集进行训练代码验证:
1、model_id指定了模型的绝对路径
2、代码报错
/usr/local/lib/python3.10/site-packages/modelscope/pipelines/util.py", line 38, in is_official_hub_impl
raise ValueError(f'invalid model repo path {e}')
ValueError: invalid model repo path HTTPSConnectionPool(host='www.modelscope.cn', port=443): Max retries exceeded with url: /api/v1/models//app (Caused by NameResolutionError(": Failed to resolve 'www.modelscope.cn' ([Errno -3] Temporary failure in name resolution)"))