wordweb / langchain-chatglm-and-tigerbot Goto Github PK
View Code? Open in Web Editor NEW从langchain-ChatGLM基础上修改的一个可以加载TigerBot模型的基于本地知识库的问答应用,目标期望建立一套对中文场景与开源模型支持友好、可离线运行的知识库问答解决方案。
从langchain-ChatGLM基础上修改的一个可以加载TigerBot模型的基于本地知识库的问答应用,目标期望建立一套对中文场景与开源模型支持友好、可离线运行的知识库问答解决方案。
尊敬的langchain-ChatGLM-and-TigerBot 应用开发者,我是 InternLM 社区开发者&志愿者尖米, 大佬开源的工作对我的启发很大,希望可以探讨使用 InternLM 实现langchain-ChatGLM-and-TigerBot 的可能性和实现路径,我的微信是mzm312,希望可以取得联系进行更深度的交流
系统win11
CPU:AMD1920X
GPU:RTX4070TI
在按照步骤做到".\Python310\python.exe api.py“后管理员命令提示符出现了下面问题
这个问题是我在前面安装模块的时候没有将模块加入PATH到环境?还是说需要我自己进入api.py进行手动定义?
我只有看过一点编程的课程,也是第一次使用github,现在碰到这个问题后询问gpt也得不到答案,恳请作者大大指点一二。如果可以的话能把我拉进项目项目交流群吗?我的联系方式394244522,麻烦大大了
C:\langchain-ChatGLM-and-TigerBot>.\Python310\python.exe api.py
INFO 2023-09-23 16:13:55,812-1d:
loading model config
llm device: cuda
embedding device: cuda
dir: C:\langchain-ChatGLM-and-TigerBot
flagging username: a4556e66ca804901b9d038a8cd4c3f44
Loading model/TigerBot...
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 2/2 [00:16<00:00, 8.12s/it]
Loaded the model in 211.68 seconds.
Traceback (most recent call last):
File "C:\langchain-ChatGLM-and-TigerBot\api.py", line 407, in <module>
api_start(args.host, args.port)
File "C:\langchain-ChatGLM-and-TigerBot\api.py", line 361, in api_start
llm_model_ins = shared.loaderLLM()
File "C:\langchain-ChatGLM-and-TigerBot\models\shared.py", line 42, in loaderLLM
provides_class = getattr(sys.modules['models'], llm_model_info['provides'])
AttributeError: module 'models' has no attribute 'TigerBotLLM'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.