From 06e2206d3fd8d2b7e1cc180aa32458ed62cb022e Mon Sep 17 00:00:00 2001 From: yxq321 <56987208+yxq321@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:39:34 +0800 Subject: [PATCH] add download-skywork.py --- download-skywork.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 download-skywork.py diff --git a/download-skywork.py b/download-skywork.py new file mode 100644 index 0000000000000..79e664c86eb3c --- /dev/null +++ b/download-skywork.py @@ -0,0 +1,7 @@ +''' +下载大模型文件 +默认路径在~/.cache//huggingface/hub/ +''' +from huggingface_hub import snapshot_download +model_name = "Skywork/Skywork-13B-Base" +snapshot_download(repo_id=model_name)