update model_config.py

This commit is contained in:
hzg0601 2023-07-26 18:04:35 +08:00
parent e8ff31be1f
commit 34a2af118b
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ EMBEDDING_DEVICE = "cuda" if torch.cuda.is_available() else "mps" if torch.backe
# llm_model_dict 处理了loader的一些预设行为如加载位置模型名称模型处理器实例 # llm_model_dict 处理了loader的一些预设行为如加载位置模型名称模型处理器实例
# 在以下字典中修改属性值,以指定本地 LLM 模型存储位置 # 在以下字典中修改属性值,以指定本地 LLM 模型存储位置
# 如将 "chatglm-6b" 的 "local_model_path" 由 None 修改为 "User/Downloads/chatglm-6b" # 如将 "chatglm-6b" 的 "local_model_path" 由 None 修改为 "User/Downloads/chatglm-6b"
# 此处请写绝对路径 # 此处请写绝对路径,且路径中必须包含repo-id的模型名称因为FastChat是以模型名匹配的
llm_model_dict = { llm_model_dict = {
"chatglm-6b-int4-qe": { "chatglm-6b-int4-qe": {
"name": "chatglm-6b-int4-qe", "name": "chatglm-6b-int4-qe",