imClumsyPanda
|
e352a04cbb
|
merge master
|
2023-05-22 00:18:48 +08:00 |
imClumsyPanda
|
0f3fc5234d
|
update webui.py and api.py
|
2023-05-21 23:04:46 +08:00 |
glide-the
|
33bbb4779e
|
llm_model_dict 处理了loader的一些预设行为,如加载位置,模型名称,模型处理器实例, 定义checkpoint名称和远程路径
loader.py: 模型重载
定义 generatorAnswer 增加 AnswerResultStream
定义generate_with_callback收集器,在每次响应时将队列数据同步到AnswerResult
requirements.txt 变更项目依赖
|
2023-05-18 22:54:41 +08:00 |
CHANGXUBO
|
a5417e1cf5
|
更新install说明,解决PaddleOCR依赖问题 (#387)
|
2023-05-17 13:28:10 +08:00 |
imClumsyPanda
|
f54effb3ab
|
update webui.py
|
2023-05-15 18:58:36 +08:00 |
imClumsyPanda
|
48ab7c4fa6
|
update webui.py
|
2023-05-15 18:45:40 +08:00 |
imClumsyPanda
|
cda18c6a60
|
update README.md
|
2023-05-11 00:08:39 +08:00 |
imClumsyPanda
|
264981e4b6
|
update webui.py
|
2023-05-10 23:21:36 +08:00 |
imClumsyPanda
|
9f07ead562
|
update webui.py
|
2023-05-10 23:13:52 +08:00 |
imClumsyPanda
|
24223cfb6f
|
update webui.py
|
2023-05-10 23:06:19 +08:00 |
shrimp
|
519a77428a
|
Update webui.py (#309)
修复文件上传BUG
|
2023-05-10 22:22:30 +08:00 |
imClumsyPanda
|
02fecb8c53
|
update webui.py
|
2023-05-10 18:23:04 +08:00 |
shrimp
|
55504fcd4d
|
新增加知识库测试能力 (#302)
|
2023-05-10 17:18:20 +08:00 |
YiiSh
|
e7f66a6be0
|
修复默认知识库获取的逻辑 (#293)
|
2023-05-10 09:30:00 +08:00 |
CHANGXUBO
|
47e9bdb122
|
logging: 格式日志输出 (#268)
* logging: 统一日志格式输出
---------
Co-authored-by: Bob Chang <bob.chang@amway.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
|
2023-05-08 18:29:09 +08:00 |
imClumsyPanda
|
e2d7452c7b
|
update chinese_text_splitter.py
|
2023-05-06 23:26:49 +08:00 |
CHANGXUBO
|
3111fb56bd
|
Fix: 将gradio版本升级至3.28.3,修复知识库下拉框change事件获取值不是当前选中值的bug。 (#261)
* webui优化:解决每次页面刷新后都需要重新选择知识库的问题,增加Flagging收集问答效果。
* Fix: 将gradio版本升级至3.28.3,修复知识库下拉框change事件获取值不是当前选中值的bug。
* solve webui confict
---------
Co-authored-by: Bob Chang <bob.chang@amway.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
|
2023-05-06 21:38:15 +08:00 |
imClumsyPanda
|
0a4dd1987d
|
update webui.py
|
2023-05-06 12:07:32 +08:00 |
Bob Chang
|
63453f2340
|
webui优化:解决每次页面刷新后都需要重新选择知识库的问题,增加Flagging收集问答效果。 (#250)
Co-authored-by: Bob Chang <bob.chang@amway.com>
|
2023-05-06 11:57:48 +08:00 |
shrimp
|
7497b261b3
|
完善知识库路径问题,完善api接口 (#245)
* Fix 知识库无法上载,NLTK_DATA_PATH路径错误 (#236)
* Update chatglm_llm.py (#242)
* 完善知识库路径问题,完善api接口
统一webui、API接口知识库路径,后续路径如下:
知识库路经就是:/项目代码文件夹/vector_store/'知识库名字'
文件存放路经:/项目代码文件夹/content/'知识库名字'
修复通过api接口创建知识库的BUG,完善API接口功能。
* Update model_config.py
---------
Co-authored-by: Bob Chang <bob-chang@outlook.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
|
2023-05-05 18:44:37 +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 |
imClumsyPanda
|
07ff81a119
|
update torch_gc
|
2023-05-04 20:48:36 +08:00 |
imClumsyPanda
|
2c1fd2bdd5
|
add api.py
|
2023-05-03 22:31:28 +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
|
966def8cfe
|
add stream support to webui.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 |
imClumsyPanda
|
a1033698dd
|
update local_doc_qa.py, webui.py and README.md
|
2023-04-26 23:27:15 +08:00 |
imClumsyPanda
|
5a7973ea42
|
update webui.py
|
2023-04-22 16:53:04 +08:00 |
imClumsyPanda
|
4e83ad2303
|
update webui.py
|
2023-04-19 22:28:49 +08:00 |
imClumsyPanda
|
e9a5db1a9d
|
update webui.py
|
2023-04-19 21:54:59 +08:00 |
imClumsyPanda
|
6fc5e8237c
|
update webui.py
|
2023-04-19 07:58:58 +08:00 |
imClumsyPanda
|
99acc30122
|
update webui.py
|
2023-04-18 23:43:57 +08:00 |
imClumsyPanda
|
635aa2d2ac
|
update webui.py
|
2023-04-18 22:31:55 +08:00 |
imClumsyPanda
|
a231f92d98
|
修复 webui.py 中 llm_history_len 和 vector_search_top_k 显示值与启动设置默认值不一致的问题
|
2023-04-18 10:07:35 +08:00 |
imClumsyPanda
|
ca49799fb2
|
add nltk_data
|
2023-04-18 10:07:19 +08:00 |
imClumsyPanda
|
048c71f893
|
fix bug in webui.py
|
2023-04-18 10:07:19 +08:00 |
imClumsyPanda
|
59375244b6
|
修复 webui.py 中 llm_history_len 和 vector_search_top_k 显示值与启动设置默认值不一致的问题
|
2023-04-15 20:01:54 +08:00 |
Thaumstrial
|
2cd52f6605
|
Support p-tuning-v2
|
2023-04-15 14:43:12 +08:00 |
imClumsyPanda
|
0f043c33f2
|
update webui.py
|
2023-04-14 23:42:28 +08:00 |
imClumsyPanda
|
12f5458374
|
update webui.py
|
2023-04-14 23:30:37 +08:00 |
imClumsyPanda
|
5c3497912c
|
update webui.py
|
2023-04-14 22:55:51 +08:00 |
imClumsyPanda
|
7b3e782023
|
update cli_demo.py
|
2023-04-14 01:06:13 +08:00 |
imClumsyPanda
|
3187423ed4
|
update cli_demo.py
|
2023-04-14 00:42:35 +08:00 |
imClumsyPanda
|
a6184b01be
|
修改项目架构
|
2023-04-13 23:01:52 +08:00 |
lurenlym
|
a04244cf6a
|
incorrect arg order and support zero his
|
2023-04-13 14:13:58 +08:00 |
imClumsyPanda
|
3fbbf1d74a
|
update README.md
|
2023-04-12 21:09:37 +08:00 |
imClumsyPanda
|
cf2aa21446
|
update webui.py and README.md
|
2023-04-11 19:52:59 +08:00 |
liang tongtong
|
57c3cac3bb
|
Webui更新说明
1、自动读取knowledge_based_chatglm.py中LLM及embedding模型枚举,选择后点击setting进行模型加载,可随时切换模型进行测试
2、可手动调节保留对话历史长度,可根据显存大小自行调节
3、添加上传文件功能,通过下拉框选择已上传的文件,点击loading加载文件,过程中可随时更换加载的文件
4、底部添加use via API可对接到自己系统
TODO:
1、添加模型加载进度条
2、添加输出内容及错误提示
3、国家化语言切换
4、引用标注
5、添加插件系统(可基础lora训练等)
|
2023-04-11 04:30:36 +00:00 |