Commit Graph

1608 Commits

Author SHA1 Message Date
Bob Chang 51d0b7f855
Fix 知识库无法上载,NLTK_DATA_PATH路径错误 (#236) 2023-05-05 08:21:39 +08:00
imClumsyPanda fc7197fe5f delete qr code 10 2023-05-04 21:23:24 +08:00
imClumsyPanda 21940a3563 Merge remote-tracking branch 'origin/master' into dev 2023-05-04 21:21:55 +08:00
shrimp 14d998b8e6
可选择lora权重加载 (#231)
* Add files via upload

增加lora权重使用

* Update model_config.py

* Add files via upload

修复一个小错误,少写了模型加载

* 使用lora微调的权重

使用lora微调的权重

* Update model_config.py
2023-05-04 21:01:55 +08:00
Winter 47922d2ee3
fix: 扩展文档的代码逻辑 (#227)
* fix: 扩展文档的代码逻辑

* Update local_doc_qa.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-04 20:58:15 +08:00
imClumsyPanda 07ff81a119 update torch_gc 2023-05-04 20:48:36 +08:00
imClumsyPanda 0adcc64dae
Update README.md (#228) 2023-05-04 16:04:24 +08:00
imClumsyPanda 22f35bd726
Add files via upload 2023-05-04 16:03:46 +08:00
miller 09f57741fa
Update INSTALL.md (#223) 2023-05-04 13:34:01 +08:00
imClumsyPanda b03634fb7c add api.py 2023-05-03 22:35:05 +08:00
imClumsyPanda 2c1fd2bdd5 add api.py 2023-05-03 22:31:28 +08:00
Bing Han e0cf26019b
Use fastapi to implement API (#209)
* Use fastapi to implement API

* Update model_config.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-03 21:29:28 +08:00
imClumsyPanda 4e9de7df41 Merge branch 'master' into dev 2023-05-03 13:15:00 +08:00
imClumsyPanda 3f43199449 update utils 2023-05-03 13:14:36 +08:00
imClumsyPanda 8c4b2f9f6d Merge branch 'master' into dev 2023-05-03 11:33:45 +08:00
imClumsyPanda 57d4d0a29e update chatglm_llm.py 2023-05-03 11:29:59 +08:00
imClumsyPanda e567b862cc update utils 2023-05-03 10:08:35 +08:00
imClumsyPanda 8db6cd5119 update utils 2023-05-03 10:05:08 +08:00
glide-the a0b312d749 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	configs/model_config.py
2023-05-02 12:43:27 +08:00
imClumsyPanda 4c8429cb15
update README.md (#217) 2023-05-02 10:48:49 +08:00
imClumsyPanda 35aa8119f8 update README.md 2023-05-02 10:48:13 +08:00
imClumsyPanda a4e67a67b4 update local_doc_qa.py 2023-05-02 01:11:05 +08:00
imClumsyPanda c98c4888e9 update PROMPT_TEMPLATE 2023-05-02 00:28:09 +08:00
imClumsyPanda 7a406e4263
Dev (#214)
* github: Add issue templates

* supports GPU usage in docker (#197)

* 上下文的prompt模版内容修改

---------

Co-authored-by: Calcitem <calcitem@outlook.com>
Co-authored-by: cocomany <124849750+cocomany@users.noreply.github.com>
Co-authored-by: glide-the <2533736852@qq.com>
2023-05-01 23:55:37 +08:00
imClumsyPanda 4df9d76f8a add streaming option in configs/model_config.py 2023-05-01 23:52:28 +08:00
imClumsyPanda 0e8cc0d16c add streaming option in configs/model_config.py 2023-05-01 23:52:28 +08:00
imClumsyPanda 2ebcd1369e
Update README.md (#213) 2023-05-01 21:42:47 +08:00
imClumsyPanda b6033cb3d8
Add files via upload 2023-05-01 21:41:54 +08:00
glide-the bf2466d91c 上下文的prompt模版内容修改 2023-04-30 14:34:41 +08:00
cocomany 7f8fcc81c4
supports GPU usage in docker (#197) 2023-04-29 22:40:35 +08:00
Calcitem d9dfd1942c
github: Add issue templates (#205) 2023-04-29 22:39:18 +08:00
Calcitem b95ad4fcbc github: Add issue templates 2023-04-29 01:57:54 +08:00
imClumsyPanda 474e3414c5 update README.md 2023-04-28 19:11:26 +08:00
cocomany 66b104d26a
supports GPU usage in docker (#196)
Co-authored-by: Huaiyong <huaiyong.sun@hpe.com>
2023-04-28 11:24:59 +08:00
imClumsyPanda 98a8281b29 update text_splitter 2023-04-28 00:02:42 +08:00
imClumsyPanda 5571e20a0a update QR Code 2023-04-27 18:45:39 +08:00
imClumsyPanda 27632597d5 update QR Code 2023-04-27 18:44:25 +08:00
cinience 27554ccc6f
Add textsplitter copy (#187)
Fix No module named 'textsplitter'
2023-04-27 14:43:29 +08:00
imClumsyPanda cae2427e1e add llm model and embedding model options in model_config.py 2023-04-27 07:48:43 +08:00
imClumsyPanda 4dc762849b update model_config.py 2023-04-27 07:40:57 +08:00
imClumsyPanda 81d683e2a9 update README.md 2023-04-27 07:31:47 +08:00
imClumsyPanda c52125e7d7 update README.md 2023-04-27 00:02:04 +08:00
imClumsyPanda 585390712d update README.md 2023-04-26 23:28:36 +08:00
imClumsyPanda 4f3d72ca8c update README.md 2023-04-26 23:27:24 +08:00
imClumsyPanda 885dc8b457 update QR Code 2023-04-26 23:27:15 +08:00
imClumsyPanda c620ab0d6c update model_config.py 2023-04-26 23:27:15 +08:00
imClumsyPanda 966def8cfe add stream support to webui.py 2023-04-26 23:27:15 +08:00
imClumsyPanda b4aefca555 add stream support to cli_demo.py 2023-04-26 23:27:15 +08:00
imClumsyPanda 88ab9a1d21 update webui.py and local_doc_qa.py 2023-04-26 23:27:15 +08:00
wangxinkai daafe8d5fa feat: 重写FAISS和HuggingFaceEmbedding,采用MMR相似向量检索 2023-04-26 23:27:15 +08:00