File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 99
1010### 安装依赖
1111``` bash
12- cd docs
12+ cd MaxKB- docs
1313pip install -r requirements/requirements.txt
1414```
1515
@@ -37,7 +37,7 @@ mkdocs build
3737
3838### 克隆 fork 后的仓库
3939``` bash
40- git clone https://github.com/your-github-account/docs.git
40+ git clone https://github.com/your-github-account/MaxKB- docs.git
4141```
4242
4343### 本地修改并调试
Original file line number Diff line number Diff line change 116116
117117 # 安装后端需要的依赖
118118 poetry install
119+ * 注意:如果在国内安装,需要配置 poetry 的源,否则下载非常慢,经常无法正常安装,配置命令为:`poetry source add --priority=primary mirrors http://mirrors.aliyun.com/pypi/simple`
119120
120121 # 启动项目
121122 python main.py start
Original file line number Diff line number Diff line change 44!!! Abstract ""
55 以 qwen:0.5b 模型为例,详细说明 Ollama 离线部署 LLM 大语言模型的过程和步骤。
66
7- ### 1 下载模型
7+ ## 1 下载模型
88
99!!! Abstract ""
1010 访问 huggingface 并下载 qwen1_5-0_5b-chat-q5_k_m.gguf 模型文件。
1313 ```
1414![ 下载模型] ( ../img/FAQ/downModel.png )
1515
16- ### 2 上传模型
16+ ## 2 上传模型
1717
1818!!! Abstract ""
1919 将下载好的 Qwen1.5-0.5B-Chat-GGUF 模型文件上传到 Ollama 所在服务器。
2020
21- ### 3 创建Ollama Modelfile
21+ ## 3 创建Ollama Modelfile
2222
2323!!! Abstract ""
2424 创建一个名为 Modelfile 的文件,内容如下:
You can’t perform that action at this time.
0 commit comments