thomasm291678 commited on
Commit
e387ec3
·
1 Parent(s): f4e90c0

更新下载链接:GitHub -> HuggingFace

Browse files
Files changed (1) hide show
  1. 使用说明.md +15 -6
使用说明.md CHANGED
@@ -47,7 +47,11 @@ VetNet-LCPS 是一个基于 **DAPT(领域自适应预训练)微调的大语
47
  ### 1. 下载代码
48
 
49
  ```bash
50
- git clone https://github.com/thomasm291678/VetNet-LCPS.git
 
 
 
 
51
  cd VetNet-LCPS
52
  ```
53
 
@@ -58,17 +62,17 @@ cd VetNet-LCPS
58
  ```bash
59
  pip install huggingface_hub
60
 
 
 
 
 
61
  python -c "
62
  from huggingface_hub import snapshot_download
63
  snapshot_download('WWsCa/VetNet-LCPS-models', allow_patterns='vet-qwen3b-v3-dapt/*', local_dir='./vet-qwen3b-v3-dapt')
64
  "
65
-
66
- # 文件在 ./vet-qwen3b-v3-dapt/vet-qwen3b-v3-dapt/ 下
67
- # 移到正确位置
68
- mv ./vet-qwen3b-v3-dapt/vet-qwen3b-v3-dapt/* ./vet-qwen3b-v3-dapt/
69
  ```
70
 
71
- #### 方式 B:从 ModelScope 下载(国内用户推荐)
72
 
73
  ```bash
74
  pip install modelscope
@@ -79,6 +83,11 @@ snapshot_download('WWSCA123/vet-qwen3b-v3-dapt-inference', local_dir='./vet-qwen
79
  "
80
  ```
81
 
 
 
 
 
 
82
  ### 3. 安装依赖
83
 
84
  ```bash
 
47
  ### 1. 下载代码
48
 
49
  ```bash
50
+ # 从 HuggingFace 克隆(推荐)
51
+ git clone https://huggingface.co/WWsCa/VetNet-LCPS
52
+ # 或使用镜像加速
53
+ git clone https://hf-mirror.com/WWsCa/VetNet-LCPS
54
+
55
  cd VetNet-LCPS
56
  ```
57
 
 
62
  ```bash
63
  pip install huggingface_hub
64
 
65
+ # 使用 hf CLI 下载
66
+ hf download WWsCa/VetNet-LCPS-models vet-qwen3b-v3-dapt/ --local-dir ./vet-qwen3b-v3-dapt
67
+
68
+ # 或使用 Python API
69
  python -c "
70
  from huggingface_hub import snapshot_download
71
  snapshot_download('WWsCa/VetNet-LCPS-models', allow_patterns='vet-qwen3b-v3-dapt/*', local_dir='./vet-qwen3b-v3-dapt')
72
  "
 
 
 
 
73
  ```
74
 
75
+ #### 方式 B:从 ModelScope 下载(国内用户推荐,无需代理)
76
 
77
  ```bash
78
  pip install modelscope
 
83
  "
84
  ```
85
 
86
+ > **国内加速提示**:如 HF 下载慢,可在 HuggingFace 相关命令前设置环境变量:
87
+ > ```bash
88
+ > export HF_ENDPOINT=https://hf-mirror.com
89
+ > ```
90
+
91
  ### 3. 安装依赖
92
 
93
  ```bash