Lychee X

Results 111 comments of Lychee X

Help on method init_cfg in module chains.local_doc_qa:#[while the linked web](https://github.com/imClumsyPanda/langchain-ChatGLM/blob/master/chains/local_doc_qa.py#L161) init_cfg(embedding_model: str = 'text2vec', embedding_device='cpu', llm_model: models.base.BaseAnswer = None, top_k=5) method of chains.local_doc_qa.LocalDocQA instance 那就去掉上述参数,结果如下 local_doc_qa.init_cfg(llm_model=LLM_MODEL, embedding_model=EMBEDDING_MODEL, top_k=VECTOR_SEARCH_TOP_K) ConnectionError: ('Connection...

bug3 :centos 7.9如何执行下面的代码: ``` sudo apt-get update sudo apt-get install -y nvidia-container-toolkit-base sudo systemctl daemon-reload sudo systemctl restart docker ```

bug4 直接执行下面的代码: $ python cli_demo.py ``` Loading THUDM/chatglm-6b... ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /d/langchain-ChatGLM/cli_demo.py:56 in │ │ │ │ 53 │ │ 54 │ │ 55 if...

bug 5:下载chatGLM-6b出错, ``` CUDA_VISIBLE_DEVICES=0 python cli_demo.py INFO 2023-05-25 15:25:41,261-1d: loading model config llm device: cuda embedding device: cuda dir: /dat/langchain-ChatGLM flagging username: 7bf36941a38c4ec1b929f47fb6b86255 INFO 2023-05-25 15:25:42,085-1d: Note: NumExpr detected 32...

上面的chatGLM-6b模型放在哪里啊?可以指定位置么?

bug5-2,上面的模型下载后放在指定位置,并且指定了模型名字,结果还是同样的错误,[参考文档](https://github.com/imClumsyPanda/langchain-ChatGLM/blob/master/docs/StartOption.md) ``` CUDA_VISIBLE_DEVICES=0 python cli_demo.py --model-dir conf/ --model chatglm-6b --no-remote-model INFO 2023-05-25 16:28:39,942-1d: loading model config llm device: cuda embedding device: cuda dir: /d/langchain-ChatGLM flagging username: 1402c5fc5e084e29b4a06d73f03e12b6 INFO 2023-05-25 16:28:40,811-1d:...

上述bug5时而没有,时而有。累。 bug6 请输入本地知识文件路径:data/documents/ 该文件夹下是一个pdf文件,为何不行呢? Input your local knowledge file path 请输入本地知识文件路径:data/documents/ 加载文件: 0%| | 0/1 [00:00

bug7,webui界面: ![image](https://github.com/imClumsyPanda/langchain-ChatGLM/assets/50656998/a1f49f5d-3cbb-43d3-8bbb-abce6ecd7d59) ![image](https://github.com/imClumsyPanda/langchain-ChatGLM/assets/50656998/bed07337-29d3-4e2d-8071-fa4304b2f506) dia点击重新加载还是第一个页面,不知道哪里是对话框啊。。。

bug8-2: 回答的问题,,,**因此,他工作的时间应该是2020年6月至2022年4月,共计8个月。** 这数学能力有点差啊。。。

bug9, docx文件能读取么?知识库里面全是docx文件。 显示如下:而且上传docx也不能读取。 - Install instructions: https://www.libreoffice.org/get-help/install-howto/ - Mac: https://formulae.brew.sh/cask/libreoffice - Debian: https://wiki.debian.org/LibreOffice