langchain-Chatchat 使用流程遇到的坑
向量化有时候会失败的,导入文件之后,用update贼香,贼快】
·
# 拉取仓库 $ git clone https://github.com/chatchat-space/Langchain-Chatchat.git # 进入目录 $ cd Langchain-Chatchat # 安装全部依赖 $ pip install -r requirements.txt $ pip install -r requirements_api.txt $ pip install -r requirements_webui.txt
下载模型
$ git lfs install
$ git clone https://huggingface.co/THUDM/chatglm2-6b
$ git clone https://huggingface.co/moka-ai/m3e-base
python copy_config_example.py $ python init_database.py --recreate-vs
conda activate Langchain_chatglm nohup python startup.py -a > out.log &

【注意:此处有坑。向量化有时候会失败的,导入文件之后,用update贼香,贼快】
$ python init_database.py --update-in-db
更多推荐

所有评论(0)