Commit Graph

10 Commits

Author SHA1 Message Date
liang tongtong 3682020c20 添加webui readme说明 2023-04-11 05:38:27 +00: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
imClumsyPanda 481aab97cb use RetrievalQA instead of ChatVectorDBChain 2023-04-10 22:55:37 +08:00
imClumsyPanda 12ee17f3b3 use RetrievalQA instead of ChatVectorDBChain 2023-04-10 22:55:22 +08:00
imClumsyPanda 2240ed1ec2 update requirements.txt 2023-04-09 23:31:26 +08:00
imClumsyPanda 7720bb58e0 Add llm_model_dict to choose llm and add chatglm-6b-int4 as an option 2023-04-09 23:10:44 +08:00
zhangwei 1b1107315c 根据4.7日更新代码,解决冲突
新增ernie系列模型作为embedding model,默认依旧使用GanymedeNil/text2vec-large-chinese
显存不足时可尝试使用ernie-tiny作为embedding模型
调用方式为embeddings = HuggingFaceEmbeddings(model_name=embedding_model_dict["ernie-tiny"], )
2023-04-07 12:01:15 +08:00
littlepanda0716 3cbc6aa77c update knowledge_based_chatglm.py 2023-04-07 10:11:26 +08:00
littlepanda0716 ca902e1a7b update function name and requirements.txt 2023-04-03 19:13:34 +08:00
littlepanda0716 f17d26addf first commit 2023-03-31 20:09:40 +08:00