LLaMA-Factory GLM-4-9B-Chat 模型下载,指定MODELSCOPE #129

Open
opened 2024-09-26 16:36:33 +08:00 by STM32King · 0 comments

由于LLaMA-Factory 默认模型下载地址是huggingface.co,由于国内网络环境限制,所以需要把模型的下载地址改为MODELSCOPE,具体方法如下:
export USE_MODELSCOPE_HUB=1 # 表示模型来源是ModelScope。使用HuggingFace模型可能会有网络问题

由于LLaMA-Factory 默认模型下载地址是huggingface.co,由于国内网络环境限制,所以需要把模型的下载地址改为MODELSCOPE,具体方法如下: export USE_MODELSCOPE_HUB=1 # 表示模型来源是ModelScope。使用HuggingFace模型可能会有网络问题
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#129
No description provided.