Chapter 32
download
Notebookms3 cells
In [ ]python · cell 1
python
from modelscope.hub.snapshot_download import snapshot_downloadIn [ ]python · cell 2
python
# model_id 模型id
# cache_dir 本地缓存目录
# ignore_file_pattern 无需下载的文件
snapshot_download(model_id="Shanghai_AI_Laboratory/internlm-20b", cache_dir="d:/Pretrained_models/")In [ ]python · cell 3
python
