开发机准备
从本地一创建一个已有的 pytorch 2.0.1
的环境并激活虚拟环境
安装相关依赖
安装相关LangChain依赖
download_hf.py
,使用hugging-face镜像下载Sentence Transformer首先我们需要将上述远程开源仓库 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>