准备工作:
- 安装Debian11的ios镜像
- 网络设置
- 在安装debian11的时候选择国内的清华的源
- 设置http_proxy,可以加快速度
- 下载chatglm6b-32k的大模型(不支持function_call的功能)
- 下载地址:https://www.wisemodel.cn/models/ZhipuAI/chatglm3-6b-32k
- git clone https://www.wisemodel.cn/ZhipuAI/chatglm3-6b-32k.git (可能会有问题,做的不完善,不行的话,就自己手动的下载就好了)
- 下载chatglm6b 大模型,可以支持function_call的功能
- apt install git-lfs (用于git的下载,不然git clone下载下来的数据不全)
- git lfs install
- git clone https://www.modelscope.cn/ZhipuAI/chatglm3-6b.git
- 参考链接: [Windows本地部署ChatGLM3-6B模型] (https://blog.csdn.net/Silver__Wolf/article/details/135817503)
- 下载chatglm.cpp的github文件到本地
- 下载地址:https://github.com/li-plus/chatglm.cpp
- git clone --recursive https://github.com/li-plus/chatglm.cpp.git && cd chatglm.cpp