修改模型参数

This commit is contained in:
wanyaokun
2024-09-05 09:01:27 +08:00
parent 97a486e631
commit ae19725d72
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ SQLITE_DATABASE_URL=sqlite:///./source.db
TOP_K=10
#--------------------------
# 是否启用混合检索
HYBRID_ENABLED = false
HYBRID_ENABLED = true
# 混合检索阈值
HYBRID_ALPHA = 0.6
# 是否启用检索重排功能
+1 -1
View File
@@ -38,7 +38,7 @@ DASHSCOPE_MODEL_META = {
"is_chat_model": True,
},
DashScopeGenerationModels.QWEN2_MATH_72B_INSTRUCT: {
"context_window": 1024 * 8,
"context_window": 1024 * 2,
"num_output": 1024 * 8,
"is_chat_model": True,
},