Comments (16)
你好,我尝试了复制一个新的readme2.txt,把里面的内容改为很简单,没有特殊符号,情况还是一样。 而且我尝试在提示输入本地知识文件路径是,故意输入一个不存在的路径,但表现一样,所以程序是卡在实际去读取知识文件之前.
然后单步试了一轮,发现是卡在 unstructured.py 文件的 93行 from unstructured.partition.auto import partition
尝试更新了 unstructured 到版本 0.5.11,问题依旧,卡在 unstructured.py 文件的 32行 : import unstructured
我也遇到了同样的问题,确实是from unstructured.partition.auto import partition出现问题。后来发现是windows下的imagic 不能像linux下一样使用,需要添加额外的dll,参考https://pypi.org/project/python-magic/。完善后应该就没问题了
from langchain-chatchat.
如果你是windows系统下运行的,按照我说的链接安装一个额外的python-magic动态库应该就行了。
from langchain-chatchat.
你好,我尝试了复制一个新的readme2.txt,把里面的内容改为很简单,没有特殊符号,情况还是一样。
而且我尝试在提示输入本地知识文件路径是,故意输入一个不存在的路径,但表现一样,所以程序是卡在实际去读取知识文件之前.
然后单步试了一轮,发现是卡在 unstructured.py 文件的
93行 from unstructured.partition.auto import partition
尝试更新了 unstructured 到版本 0.5.11,问题依旧,卡在 unstructured.py 文件的
32行 : import unstructured
from langchain-chatchat.
你好,我尝试了复制一个新的readme2.txt,把里面的内容改为很简单,没有特殊符号,情况还是一样。 而且我尝试在提示输入本地知识文件路径是,故意输入一个不存在的路径,但表现一样,所以程序是卡在实际去读取知识文件之前.
然后单步试了一轮,发现是卡在 unstructured.py 文件的 93行 from unstructured.partition.auto import partition
尝试更新了 unstructured 到版本 0.5.11,问题依旧,卡在 unstructured.py 文件的 32行 : import unstructured我也遇到了同样的问题,确实是from unstructured.partition.auto import partition出现问题。后来发现是windows下的imagic 不能像linux下一样使用,需要添加额外的dll,参考https://pypi.org/project/python-magic/。完善后应该就没问题了
感谢!@Mocifiel win10 下面使用 方式解决
pip install python-magic-bin
from langchain-chatchat.
我也遇到了一样的问题,他们这里用的senttence embedding有问题
from langchain-chatchat.
@ngbruce @oashua 这里是使用 text2vec-large-chinese 作 embedding,虽然该模型不能直接作为 sentence-transformer,但是langchain会默认使用平均值作为每句文本的向量,这句只是警告/提示信息,不影响程序的正常运行。
如果测试过程中使用了 ChatGLM-6B 最新版的 README.md 可能因为其中包含了特殊字符,导致文档加载过程中出错,可以尝试使用其他不含特殊字符的文本文件进行测试
from langchain-chatchat.
您好 ,解决了吗 我也遇到同样的问题
from langchain-chatchat.
安装的时候提示这个错误
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.12.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.18.3 which is incompatible.
tensorflow-hub 0.13.0 requires protobuf>=3.19.6, but you have protobuf 3.18.3 which is incompatible.
tensorboard 2.12.1 requires protobuf>=3.19.6, but you have protobuf 3.18.3 which is incompatible.
from langchain-chatchat.
Found GPU1 NVIDIA GeForce GTX 650 which is of cuda capability 3.0.
PyTorch no longer supports this GPU because it is too old.
你的这个显卡不能用,因为太老了,这个模型跑起来基本占用了14GB左右。
from langchain-chatchat.
Found GPU1 NVIDIA GeForce GTX 650 which is of cuda capability 3.0. PyTorch no longer supports this GPU because it is too old. 你的这个显卡不能用,因为太老了,这个模型跑起来基本占用了14GB左右。
一楼已经说明了:(有警告的那个GPU没有影响,是GTX650,实际模型运行在 P40上)
from langchain-chatchat.
您好 ,解决了吗 我也遇到同样的问题
还没有,尝试把Python从3.10换成 3.8也不行
from langchain-chatchat.
你好,解决了吗?遇到的相同的问题。 @ngbruce
from langchain-chatchat.
我找到问题了,windows下使用gitbash 就会卡住或者报segmentation fault,使用powershell或者CMD就不会,希望对其他人有帮助。 @ngbruce @oashua
可能的原因:https://stackoverflow.com/questions/52615628/git-bash-segmentation-fault-problem-windows
from langchain-chatchat.
@Mocifiel 能详细说说怎么解决的吗,已经弄了一天还是还是卡在这
from langchain-chatchat.
楼主,你后面问题解决了吗?想了解下你用P40的卡跑默认模型,响应延迟和输出速度如何?
from langchain-chatchat.
我的是向量模型文件没改为本地路径,所以每次执行网络下载因为网络不好报错。需要修改model_config里向量那个文件embedding_model_dict里text2vec值到本地位置 "text2vec": "/opt/*****/text2vec-large-chinese", 同样LLM的文件也要改到本地路径
from langchain-chatchat.
Related Issues (20)
- 运行后在发送问题后出现如下报错 HOT 1
- 使用自定义agent回答,工具选择使用是错的。 HOT 1
- fastchat 服务如何使用,我想在其他平台使用,我私有的模型,应该如何填写 HOT 3
- 关于:ModuleNotFoundError: No module named 'transformers_modules.chatglm3-6b' HOT 1
- 运行webui后报TypeError HOT 7
- 不能处理parquet文件,想增加对parquet文件处理功能
- 不能处理parquet文件,想增加对parquet文件处理功能
- 不能处理parquet文件,想增加对parquet文件处理功能 HOT 1
- 启动失败,卡在模型加载前。 HOT 2
- [BUG] UnboundLocalError: local variable 'd' referenced before assignmentthe issue HOT 2
- [BUG] 怎样实现知识库问答携带历史聊天记录 HOT 2
- 如何实现自动重载修改后的webui_pages/dialogue/dialogue.py HOT 3
- [BUG] PDFOCRLoader无法将pdf中的图片加载为文字 HOT 2
- cannot import name 'AutoTokenizer' from 'transformers' HOT 2
- [BUG] 上传文件后资源没有释放,连续上传一段时间之后导致OOM HOT 1
- 如何构建prompt和history 能够让知识库检索回答按照选择题返回 HOT 2
- [BUG] 使用milvus,初始化时报错attempt to write a readonly database HOT 2
- CSV上传知识库后,无法检索内容,提示token超限 HOT 2
- 新增对 orgmode 文件支持 HOT 1
- [BUG必现] 并发请求知识库api服务出现报错:ERROR: RemoteProtocolError: Caught exception: peer closed connection without sending complete message body (incomplete chunked read) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain-chatchat.