|
|
|
@ -1,21 +1,27 @@
|
|
|
|
|
|
|
|
|
|
# 智能医疗系统
|
|
|
|
|
本系统基于智谱大模型ChatGLM4-V-9B
|
|
|
|
|
官方模型地址:https://modelscope.cn/models/ZhipuAI/glm-4v-9b/summary
|
|
|
|
|
|
|
|
|
|
本系统基于智谱大模型 ChatGLM4-V-9B
|
|
|
|
|
官方模型地址:[ChatGLM4-V-9B 模型](https://modelscope.cn/models/ZhipuAI/glm-4v-9b/summary)
|
|
|
|
|
|
|
|
|
|
## 本地下载代码
|
|
|
|
|
SDK下载
|
|
|
|
|
’‘’bash
|
|
|
|
|
|
|
|
|
|
### SDK 下载
|
|
|
|
|
```bash
|
|
|
|
|
from modelscope import snapshot_download
|
|
|
|
|
model_dir = snapshot_download('ZhipuAI/glm-4v-9b')
|
|
|
|
|
‘’‘
|
|
|
|
|
## git下载
|
|
|
|
|
'''
|
|
|
|
|
# 确保安装了git
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Git 下载
|
|
|
|
|
```bash
|
|
|
|
|
# 确保安装了 git
|
|
|
|
|
git lfs install
|
|
|
|
|
git clone https://www.modelscope.cn/ZhipuAI/glm-4v-9b.git
|
|
|
|
|
'''
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 命令行下载
|
|
|
|
|
'''
|
|
|
|
|
```bash
|
|
|
|
|
pip install modelscope
|
|
|
|
|
# 指定文件夹 --local_dir path
|
|
|
|
|
# 指定文件夹下载 --local_dir path
|
|
|
|
|
modelscope download --model ZhipuAI/glm-4v-9b
|
|
|
|
|
'''
|
|
|
|
|
```
|
|
|
|
|