Commit Graph

392 Commits

Author SHA1 Message Date
imClumsyPanda e8a37ff4c7 update loader.py 2023-05-20 01:24:35 +08:00
imClumsyPanda d5ffdaa281 update loader.py 2023-05-20 00:06:41 +08:00
imClumsyPanda aa26645407 Merge remote-tracking branch 'origin/dev' into dev 2023-05-19 23:56:43 +08:00
imClumsyPanda 6c251bd2cf update callback.py 2023-05-19 23:56:36 +08:00
glide-the 65412e6cfb moss_llm.py 删除 stopping_criteria 2023-05-19 23:47:13 +08:00
imClumsyPanda ff7ac0333e update model_config.py 2023-05-19 23:45:01 +08:00
imClumsyPanda 09248391c2 Merge remote-tracking branch 'origin/dev' into dev 2023-05-19 23:42:00 +08:00
imClumsyPanda e057c88621 update model_config.py 2023-05-19 23:41:52 +08:00
glide-the 62ce5f0775 self.device_map 参数初始化逻辑
LLamaLLM 加载器
2023-05-19 23:38:36 +08:00
imClumsyPanda 49e47231af update model_config.py 2023-05-19 23:16:39 +08:00
imClumsyPanda 7d837078e7 update model_config.py 2023-05-19 23:12:39 +08:00
imClumsyPanda 00d80335fe update loader.py 2023-05-19 22:55:19 +08:00
glide-the 5524c47645
Update moss_llm.py 2023-05-19 17:32:38 +08:00
glide-the 7c74933285
Update api.py 删除默认启动参数 2023-05-19 13:07:59 +08:00
glide-the d9cc4e918c
Update INSTALL.md 2023-05-19 11:04:28 +08:00
glide-the 75cf9f9b4e ptuning-v2配置 2023-05-18 23:19:23 +08:00
glide-the 55a414ecfa jupyter-notebook:agent测试 2023-05-18 23:07:15 +08:00
glide-the 4c008c25d4 增加项目可选启动项说明、增加项目结构说明
cli_demo.py、api.py: 兼容loader加载器
2023-05-18 22:55:50 +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
fxjhello c3924b2ece
Merge pull request #394 from halfss/dev
bug fixed & ui Moidfy
2023-05-17 21:39:33 +08:00
root 4f88ed796c 1: fixed bug of ui in mobile
2: add backgound image
2023-05-17 10:26:47 +00:00
CHANGXUBO cb8466900f
Fix MOSS模型BUG (#389) 2023-05-17 13:44:39 +08:00
halfss dfcd6f6102
添加bing搜索agent (#378)
* 1: 基于langchain的bing search agent添加bing搜索支持(百度不靠谱,Google不可用)
2: 调整输入框交互模式,对话/知识库/搜索,三选一

* fixed bug of message have no text

---------

Co-authored-by: root <jv.liu@i1368.com>
2023-05-16 23:51:34 +08:00
fxjhello 537269d5c4 打包配置 2023-05-16 13:00:12 +08:00
fxjhello 458ed26b79 前端打包配置 2023-05-16 12:56:47 +08:00
fxjhello 2eadf8d9f5 配置后端地址 2023-05-16 10:24:55 +08:00
fxjhello 5bac7591db 设置api 2023-05-16 10:21:25 +08:00
fxjhello 78c20e33b7 后端地址配置 2023-05-16 10:08:11 +08:00
fxjhello ff8cecd780
Merge pull request #365 from halfss/dev
add Knowledge Base delete and file delete
2023-05-15 19:54:05 +08:00
imClumsyPanda 228e460b1a update REAMDE.md 2023-05-15 19:51:20 +08:00
imClumsyPanda 7935162f4a Merge branch 'master' into dev 2023-05-15 19:49:56 +08:00
imClumsyPanda fa431b90ef Merge remote-tracking branch 'origin/dev' into dev 2023-05-15 19:49:14 +08:00
imClumsyPanda dab0530a2f update REAMDE.md 2023-05-15 19:49:00 +08:00
zqt996 a0cb14de23
添加命令行管理脚本 (#355)
* 添加加命令行工具

* 添加加命令行工具

---------

Co-authored-by: zqt <1178747941@qq.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-15 19:13:12 +08:00
royd 1678392cee
Update api.py (#357)
更改目前流式对话的传入模式,使其可以支持多轮对话,体现在新增参数:history、knowledge_base_id
2023-05-15 19:11:00 +08:00
imClumsyPanda 0fca4c9590 Merge remote-tracking branch 'origin/dev' into dev 2023-05-15 18:58:51 +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
root 2563b16af0 add Knowledge Base delete and file delete 2023-05-15 08:29:58 +00:00
imClumsyPanda f9638a5eac
Update README.md 2023-05-15 15:58:55 +08:00
imClumsyPanda d647bd8e74
Add files via upload 2023-05-15 15:58:26 +08:00
fxjhello 11f5d387fc
Merge pull request #362 from halfss/dev
fixed bug of upload file use fixed url
2023-05-15 13:04:45 +08:00
root 7fcbec3409 fixed bug of upload file use fixed url 2023-05-15 04:44:28 +00:00
imClumsyPanda 31121945fc update requirements.txt 2023-05-14 00:36:42 +08:00
imClumsyPanda 5284fb2726 Merge branch 'master' into dev 2023-05-14 00:14:43 +08:00
TOMCAT 007 c86dd4dd47 vue页面开发完成 2023-05-13 23:03:07 +08:00
imClumsyPanda 3ff885d0d3 update api.py 2023-05-13 21:35:17 +08:00
fxjhello fc9d9f3c25 vue页面完成90% 2023-05-13 20:29:27 +08:00
fxjhello 839911a330 Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev 2023-05-13 16:59:56 +08:00
fxjhello 01bf39bc89 文件接口 2023-05-13 16:59:52 +08:00