🤖️ 一种利用 ChatGLM-6B + langchain 实现的基于本地知识的 ChatGLM 应用。增加 clue-ai/ChatYuan 项目的模型 ClueAI/ChatYuan-large-v2 的支持。 💡 受 GanymedeNil 的项目 document.ai 和AlexZhangji 创建的 ChatGLM-6B Pull Request 启发,建立了全部基于开源模型实现的本地知识问答应用。 ✅ 本...
基于ChatGLM 等大语言模型与 Langchain 等应用框架实现,开源、可离线部署的 RAG 与 Agent 应用项目 - dorisoy/Langchain-Chatchat
Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM 等语言模型的本地知识库问答地址:github.com/chatchat-space/Langchain-Chatchat🤖️ 一种利用 langchain 思想实现的基于本地知识库的问答应用,目标期望建立一套对中文场景与开源模型支持友好、可离线运行的知识库问答解决方案。⛓️ 本项目...
一、相关环境 参考链接:Github:https://github.com/chatchat-space/Langchain-Chatchat Langchain-chatchat版本:v0.3.1 安装环境:Ubuntu:22.04,CUDA:12.1 二、搭建过程 2.1 环境配置 2.1.1 创建chatchat虚拟环境 创建chatcaht虚拟环境 克隆仓库 安装依赖 使用模型推理框架并加载模型,这里用到的是Xinference。 【注...
$ 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# 默认依赖包括基本运行环境(FAISS向量库)。如果要使用 milvus/...
1.Langchain简介1.1本地知识库问答的原理图1.2项目Git地址GitHub.com2.操作系统及系统环境2.1安装Ubuntu1)修改启动项为UEFI 修改启动项为UEFI启动 进入U盘选择安装Ubuntu 2)查看Ubuntu版本,20.04 lsb_release -…
GitHub - whitestarlau/LangchainTestgithub.com/whitestarlau/LangchainTest 另外,因为LangChain的迭代速度很快,所以我在此列出我测试环境的一些关键库的版本: Python 3.10.13 faiss 1.7.4 langchain 0.1.4 langchain-community 0.0.16 langchain-core 0.1.17 ...
git clone https://github.com/THUDM/ChatGLM2-6B 安装依赖 cd ChatGLM2-6B# 其中 transformers 库版本推荐为 4.30.2,torch 推荐使用 2.0 及以上的版本,以获得最佳的推理性能pip install -r requirements.txt 下载模型 # 这里我将下载的模型文件放到了本地的 chatglm-6b 目录下git clone https://...
.github/ISSUE_TEMPLATE update bug_report template 1年前 chains update import pkgs and format 1年前 common search_engine_chat bug 1年前 configs add support for new embedding models sensenova/piccolo-base-zh and sen… 1年前 docs update INSTALL.md (#1250) ...
docker build -f Dockerfile-cuda -t chatglm-cuda:latest . docker run --gpus all -d --name chatglm -p 7860:7860 chatglm-cuda:latest #若要使用离线模型,请配置好模型路径,然后此repo挂载到Container docker run --gpus all -d --name chatglm -p 7860:7860 -v ~/github/langchain-ChatGL...