Skip to content

Commit

Permalink
Update 03-模型下载.md
Browse files Browse the repository at this point in the history
第52行有错别字:决定路径-> 绝对路径
  • Loading branch information
iehaoang authored Mar 18, 2024
1 parent 9a257f3 commit 1c31f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions General-Setting/03-模型下载.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ os.system('huggingface-cli download --resume-download internlm/internlm-chat-7b

使用`modelscope`中的`snapshot_download`函数下载模型,第一个参数为模型名称,参数`cache_dir`为模型的下载路径。

注意:`cache_dir`最好为决定路径
注意:`cache_dir`最好为绝对路径

安装依赖:

Expand Down Expand Up @@ -86,4 +86,4 @@ Openxlab 可以通过指定模型仓库的地址,以及需要下载的文件
```python
from openxlab.model import download
download(model_repo='OpenLMLab/InternLM-7b', model_name='InternLM-7b', output='your local path')
```
```

0 comments on commit 1c31f17

Please sign in to comment.