Zurück zum Ranking

X-D-Lab/LangChain-ChatGLM-Webui

Python

基于LangChain和ChatGLM-6B等系列LLM的针对本地知识库的自动问答

chatglm-6bchatglm-webuilangchainllmminimaxbellebilibilillamajinalangchain-servemodelscope
Sterne-Wachstum
Sterne
3.3k
Forks
493
Wochenwachstum
Issues
45
1k2k3k
Apr. 2023Mai 2024Juni 2025Juli 2026
ArtefaktePyPIpip install langchain-chatglm-webui
README

github HuggingFace modelscope openxlab OpenI AIStudio bilibili

stars contributors issues pull requests

视频链接 | 在线体验 | 部署文档| 更新日志 | 常见问题

🔥 项目体验

本项目提供基于HuggingFace社区OpenXLabModelScope魔搭社区飞桨AIStudio社区的在线体验, 欢迎尝试和反馈!

👏 项目介绍

langchain-ChatGLM启发, 利用LangChain和ChatGLM-6B系列模型制作的Webui, 提供基于本地知识的大模型应用.

目前支持上传 txt、docx、md、pdf等文本格式文件, 提供包括ChatGLM-6B系列、Belle系列等模型文件以及GanymedeNil/text2vec-large-chinesenghuyong/ernie-3.0-base-zhnghuyong/ernie-3.0-nano-zh等Embedding模型.

HuggingFace效果

ModelScope效果

🚀 使用方式

提供ModelScope版本和HuggingFace版本.
需要Python>=3.8.1

详细部署教程可参考: 部署文档 | 视频教程

支持模型

若存在网络问题可在此找到本项目涉及的所有模型:

large language model Embedding model
ChatGLM-6B text2vec-large-chinese
ChatGLM-6B-int8 ernie-3.0-base-zh
ChatGLM-6B-int4 ernie-3.0-nano-zh
ChatGLM-6B-int4-qe ernie-3.0-xbase-zh
Vicuna-7b-1.1 simbert-base-chinese
Vicuna-13b-1.1 paraphrase-multilingual-MiniLM-L12-v2
BELLE-LLaMA-7B-2M
BELLE-LLaMA-13B-2M
internlm-chat-7b-8k
internlm-chat-7b-v1_1
internlm-chat-7b

💪 更新日志

详情请见: 更新日志

项目处于初期阶段, 有很多可以做的地方和优化的空间, 欢迎感兴趣的社区大佬们一起加入!

❤️ 引用

  1. ChatGLM-6B: ChatGLM-6B: 开源双语对话语言模型
  2. LangChain: Building applications with LLMs through composability
  3. langchain-ChatGLM: 基于本地知识的 ChatGLM 应用实现
ChatGLM论文引用
@inproceedings{
  zeng2023glm-130b,
  title={{GLM}-130B: An Open Bilingual Pre-trained Model},
  author={Aohan Zeng and Xiao Liu and Zhengxiao Du and Zihan Wang and Hanyu Lai and Ming Ding and Zhuoyi Yang and Yifan Xu and Wendi Zheng and Xiao Xia and Weng Lam Tam and Zixuan Ma and Yufei Xue and Jidong Zhai and Wenguang Chen and Zhiyuan Liu and Peng Zhang and Yuxiao Dong and Jie Tang},
  booktitle={The Eleventh International Conference on Learning Representations (ICLR)},
  year={2023},
  url={https://openreview.net/forum?id=-Aw0rrrPUF}
}
@inproceedings{du2022glm,
  title={GLM: General Language Model Pretraining with Autoregressive Blank Infilling},
  author={Du, Zhengxiao and Qian, Yujie and Liu, Xiao and Ding, Ming and Qiu, Jiezhong and Yang, Zhilin and Tang, Jie},
  booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  pages={320--335},
  year={2022}
}
BELLE论文引用
@misc{BELLE,
  author = {Yunjie Ji, Yong Deng, Yan Gong, Yiping Peng, Qiang Niu, Baochang Ma and Xiangang Li},
  title = {BELLE: Be Everyone's Large Language model Engine },
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/LianjiaTech/BELLE}},
}
@article{belle2023exploring,
  title={Exploring the Impact of Instruction Data Scaling on Large Language Models: An Empirical Study on Real-World Use Cases},
  author={Yunjie Ji, Yong Deng, Yan Gong, Yiping Peng, Qiang Niu, Lei Zhang, Baochang Ma, Xiangang Li},
  journal={arXiv preprint arXiv:2303.14742},
  year={2023}
}

🙇‍ ‍感谢

  1. langchain-ChatGLM提供的基础框架
  2. 魔搭ModelScope提供展示空间
  3. OpenI启智社区提供调试算力
  4. langchain-serve提供十分简易的Serving方式
  5. 除此以外, 感谢来自社区的同学们对本项目的关注和支持!

🌟 Star History

Star History Chart

😊 加群沟通

Ähnliche Repositories
binary-husky/gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。

PythonPyPIGNU General Public License v3.0academicchatglm-6b
github.com/binary-husky/gpt_academic/wiki/online
71.1k8.3k
lss233/kirara-ai

🤖 可 DIY 的 多模态 AI 聊天机器人 | 🚀 快速接入 微信、 QQ、Telegram、等聊天平台 | 🦈支持DeepSeek、Grok、Claude、Ollama、Gemini、OpenAI | 工作流系统、网页搜索、AI画图、人设调教、虚拟女仆、语音对话 |

PythonPyPIGNU Affero General Public License v3.0chatgptopenai
kirara-docs.app.lss233.com
18.9k1.8k
THUDM/ChatGLM2-6B

ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型

PythonPyPIOtherchatglmchatglm-6b
15.7k1.9k
zai-org/ChatGLM2-6B

ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型

PythonPyPIOtherchatglmchatglm-6b
15.5k1.8k
lss233/chatgpt-mirai-qq-bot

🤖 可 DIY 的 多模态 AI 聊天机器人 | 🚀 快速接入 微信、 QQ、Telegram、等聊天平台 | 🦈支持DeepSeek、Grok、Claude、Ollama、Gemini、OpenAI | 工作流系统、网页搜索、AI画图、人设调教、虚拟女仆、语音对话 |

PythonPyPIGNU Affero General Public License v3.0chatgptopenai
kirara-docs.app.lss233.com
14.4k1.6k
zai-org/GLM-4

GLM-4 series: Open Multilingual Multimodal Chat LMs | 开源多语言多模态对话模型

PythonPyPIApache License 2.0chatglmchatglm-6b
7.1k612
wenda-LLM/wenda

闻达:一个LLM调用平台。目标为针对特定环境的高效内容生成,同时考虑个人和中小企业的计算资源局限性,以及知识安全和私密性问题

JavaScriptnpmGNU Affero General Public License v3.0chatglm-6bchatrwkv
6.2k787
THUDM/GLM-4

GLM-4 series: Open Multilingual Multimodal Chat LMs | 开源多语言多模态对话模型

PythonPyPIApache License 2.0chatglmchatglm-6b
6k509
zai-org/VisualGLM-6B

Chinese and English multimodal conversational language model | 多模态中英双语对话语言模型

PythonPyPIApache License 2.0chatglm-6bgpt
4.2k421
THUDM/VisualGLM-6B

Chinese and English multimodal conversational language model | 多模态中英双语对话语言模型

PythonPyPIApache License 2.0chatglm-6bgpt
4.1k422
yuanzhoulvpi2017/zero_nlp

中文nlp解决方案(大模型、数据、模型、训练、推理)

Jupyter NotebookMIT Licensebertnlp
3.8k443
wangzhaode/mnn-llm

llm deploy project based mnn. This project has merged into MNN.

C++Apache License 2.0chatglm-6bcpp
1.6k177