新增MarkDown切片

This commit is contained in:
wanyaokun
2024-09-06 18:22:01 +08:00
parent 1c773924db
commit bc124c5513
34 changed files with 150 additions and 31 deletions
+7 -1
View File
@@ -9,7 +9,8 @@ class DashScopeGenerationModels:
QWEN_MAX = "qwen-max"
QWEN_MAX_1201 = "qwen-max-1201"
QWEN_MAX_LONGCONTEXT = "qwen-max-longcontext"
QWEN2_MATH_72B_INSTRUCT = 'qwen2-math-72b-instruct'
QWEN2_MATH_72B_INSTRUCT = 'qwen2-math-72b-instruct',
QWEN2_72B = 'qwen2-72b-instruct'
DASHSCOPE_MODEL_META = {
DashScopeGenerationModels.QWEN_TURBO: {
@@ -42,6 +43,11 @@ DASHSCOPE_MODEL_META = {
"num_output": 1024 * 8,
"is_chat_model": True,
},
DashScopeGenerationModels.QWEN2_72B: {
"context_window": 1024 * 2,
"num_output": 1024 * 8,
"is_chat_model": True,
},
}