1.准备环境

1.1InternLM 模型部署

1.2下载模型

Untitled

1.3 LangChain 相关环境配置

1.4 下载 NLTK 相关资源

2 知识库搭建

2.1 数据收集

首先我们需要将上述远程开源仓库 Clone 到本地,可以使用以下命令:

# 进入到数据库盘
cd /root/data
# clone 上述开源仓库
git clone <https://gitee.com/open-compass/opencompass.git>
git clone <https://gitee.com/InternLM/lmdeploy.git>
git clone <https://gitee.com/InternLM/xtuner.git>
git clone <https://gitee.com/InternLM/InternLM-XComposer.git>
git clone <https://gitee.com/InternLM/lagent.git>
git clone <https://gitee.com/InternLM/InternLM.git>

2.2 加载数据

Untitled

Untitled