Commit Graph

599 Commits

Author SHA1 Message Date
stc2001 7217e3391d
Update model_config.py (#768)
添加ChatGLM2-6b-int4和ChatGLM2-6b-int8
2023-07-04 19:04:57 +08:00
imClumsyPanda 80ecc08044 update README.md 2023-07-02 22:16:58 +08:00
zzxs 6ab496ea4a
Update api.py (#628)
修复websocket的伪流式输出
2023-07-02 13:42:53 +08:00
imClumsyPanda b922970ac2
Update README.md 2023-07-01 10:16:47 +08:00
imClumsyPanda 393bd400cb
Add files via upload 2023-07-01 10:16:09 +08:00
Jingsong-Yan 421ce3da3a
Add device_map config to support chatglm2-6b (#734)
chatglm-6b和chatglm2-6b的参数命名不一致,本次提交旨在解决chatglm2-6b device_map 创建的问题。在chatglm_auto_configure_device_map 函数中新增了chatglm2-6b device_map 创建的相关代码。
2023-06-30 21:08:38 +08:00
neverless00 51ed739d6c
fix 2 bugs on streamlit demo (#719) 2023-06-30 21:01:41 +08:00
jinke 3c66fc3b18
向Readme添加Docker整合包描述 (#746) 2023-06-30 07:19:07 +08:00
imClumsyPanda 1612c89160
Update README.md 2023-06-29 12:53:27 +08:00
imClumsyPanda 2bda2cf7a6
Update README.md 2023-06-29 12:52:51 +08:00
imClumsyPanda 46bd13d9db
Add files via upload 2023-06-29 12:50:52 +08:00
imClumsyPanda 1ec8f33db8
Update README.md 2023-06-27 16:13:15 +08:00
imClumsyPanda c69e63a442
Add files via upload 2023-06-27 16:11:45 +08:00
imClumsyPanda d0b746c54f update README.md 2023-06-25 17:55:00 +08:00
imClumsyPanda eaf46a04e3 Add chatglm2-6b configs 2023-06-25 17:04:16 +08:00
imClumsyPanda fc57d76c3c
Update README.md 2023-06-22 10:39:18 +08:00
imClumsyPanda bf87e791f3
Add files via upload 2023-06-22 10:38:54 +08:00
imClumsyPanda 7b4884a2db update README.md 2023-06-19 23:02:56 +08:00
imClumsyPanda 11c35722ba update QR Code 2023-06-19 20:51:18 +08:00
imClumsyPanda 017b34647e update requirements.txt and model_config.py 2023-06-18 21:52:56 +08:00
imClumsyPanda f6218316e3 update requirements.txt and model_config.py 2023-06-18 21:52:49 +08:00
kiddog99 25b46a7b9e
标题增强 (#631)
* Add files via upload

* Update local_doc_qa.py

* Update model_config.py

* Update zh_title_enhance.py

* Add files via upload

* Update README.md

* fix bugs in MyFAISS.delete_doc

* fix:前端知识库获取失败.

* update zh_title_enhance.py

* update zh_title_enhance.py

* Update zh_title_enhance.py

* add test/textsplitter

* add test_zh_title_enhance.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
Co-authored-by: JZF <jiangzhifeng_jzf@163.com>
Co-authored-by: fxjhello <127916299+fxjhello@users.noreply.github.com>
2023-06-18 21:45:06 +08:00
fxjhello 3f7e81585e
Merge pull request #657 from imClumsyPanda/revert-653-dev-1
Revert 653 dev 1
2023-06-17 20:30:04 +08:00
fxjhello 409a302f9b
Revert "fix:前端知识库获取失败. 修改获取及删除接口至knowledge_base" 2023-06-17 20:29:25 +08:00
fxjhello 6981bdee62
Merge pull request #653 from 1729457433/dev-1
fix:前端知识库获取失败. 修改获取及删除接口至knowledge_base
2023-06-17 20:29:17 +08:00
fxjhello 5eab13c911
Merge pull request #636 from hzhaoy/master
解决vue前端镜像构建失败的问题
2023-06-17 20:28:54 +08:00
JZF 91c647812f fix:前端知识库获取失败. 2023-06-17 11:29:55 +08:00
imClumsyPanda 2a964f298c fix bugs in MyFAISS.delete_doc 2023-06-16 23:52:28 +08:00
imClumsyPanda 2282320d41 fix bugs in MyFAISS.delete_doc 2023-06-16 23:51:20 +08:00
bright.python 2311fb007d
Update MyFAISS.py (#648)
防止i不存在时候错误,
langchain-ChatGLM/vectorstores/MyFAISS.py", line 55, in similarity_search_with_score_by_vector
    _id = self.index_to_docstore_id[i]
KeyError: 4
2023-06-16 23:47:31 +08:00
imClumsyPanda 1eba834985
Update README.md 2023-06-16 15:26:26 +08:00
imClumsyPanda 3743f6f5c6
Add files via upload 2023-06-16 15:25:19 +08:00
hzhaoy e177b0bbc8 Fix #635: 解决vue前端镜像构建失败的问题 2023-06-15 11:36:57 +08:00
imClumsyPanda 3d95706d5c fix bugs in webui.py 2023-06-15 01:00:45 +08:00
imClumsyPanda 5f652183f4 fix bugs in webui.py 2023-06-15 00:38:38 +08:00
imClumsyPanda a62617f394 Merge remote-tracking branch 'origin/dev' into dev 2023-06-15 00:26:45 +08:00
imClumsyPanda b674c9a524 fix bugs in pdf_loader.py and image_loader.py 2023-06-15 00:26:27 +08:00
imClumsyPanda ed7c54858a add delete knowledge base and delete files from knowledge base to webui 2023-06-15 00:21:41 +08:00
Zhi-guo Huang a70df98825
更新FAQ,model_config.py,bing_search.py文件,增加bing搜索问答相关问题的原因和可能解决方案,修复了一些typo;修改loader.py中load_in_8bit失败的原因和详细解决方案 (#610)
* 修复 bing_search.py的typo;更新model_config.py中Bing Subscription Key申请方式及注意事项

* 更新FAQ,增加了[Errno 110] Connection timed out的原因与解决方案

* 修改loader.py中load_in_8bit失败的原因和详细解决方案

* update loader.py
2023-06-14 21:31:26 +08:00
imClumsyPanda 331f39cde7 merge master 2023-06-14 21:21:56 +08:00
imClumsyPanda 58d6a9a098 update MyFAISS with method mentioned in https://github.com/imClumsyPanda/langchain-ChatGLM/issues/613#issuecomment-1590460465 2023-06-14 21:20:52 +08:00
imClumsyPanda a55aab498f Merge branch 'master' of https://github.com/imClumsyPanda/langchain-ChatGLM 2023-06-14 21:09:30 +08:00
imClumsyPanda 40101dbb1f
Update README.md 2023-06-14 17:26:56 +08:00
imClumsyPanda 5c81671cf7
Add files via upload 2023-06-14 17:25:57 +08:00
imClumsyPanda 11dd2b5b84 update api.py 2023-06-14 00:35:33 +08:00
imClumsyPanda a887df1715 add knowledge_base folder and move vector_store and content inside 2023-06-13 23:54:29 +08:00
imClumsyPanda 585b4427ba Merge branch 'master' into dev 2023-06-13 22:40:14 +08:00
imClumsyPanda fc6d4c33e3 add delete_doc and update_doc to MyFAISS.py 2023-06-13 22:39:41 +08:00
glide-the 0abd2d9992 llama_llm.py 提示词修改 2023-06-13 18:36:07 +08:00
imClumsyPanda fef22e3133
Update README.md 2023-06-12 21:38:38 +08:00