From f1c7ae9974a4b98b28a3d7632e24e2ad8f64cc16 Mon Sep 17 00:00:00 2001 From: liudonghua Date: Thu, 26 Dec 2024 17:32:18 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=20ollama=20model=20name=20#1902?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ollama_model_provider.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/setting/models_provider/impl/ollama_model_provider/ollama_model_provider.py b/apps/setting/models_provider/impl/ollama_model_provider/ollama_model_provider.py index bd3f9c8b258..0900fa5f088 100644 --- a/apps/setting/models_provider/impl/ollama_model_provider/ollama_model_provider.py +++ b/apps/setting/models_provider/impl/ollama_model_provider/ollama_model_provider.py @@ -90,43 +90,43 @@ 'qwen 1.5 110b 相较于以往版本,模型与人类偏好的对齐程度以及多语言处理能力上有显著增强。所有规模的模型都支持32768个tokens的上下文长度。1100亿参数。', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2-72b-instruct', + 'qwen2:72b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2-57b-a14b-instruct', + 'qwen2:57b-a14b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2-7b-instruct', + 'qwen2:7b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-72b-instruct', + 'qwen2.5:72b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-32b-instruct', + 'qwen2.5:32b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-14b-instruct', + 'qwen2.5:14b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-7b-instruct', + 'qwen2.5:7b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-1.5b-instruct', + 'qwen2.5:1.5b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-0.5b-instruct', + 'qwen2.5:0.5b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo( - 'qwen2.5-3b-instruct', + 'qwen2.5:3b-instruct', '', ModelTypeConst.LLM, ollama_llm_model_credential, OllamaChatModel), ModelInfo(