From 4dc762849b27c0ddc3466c3621d25c22a595c2b4 Mon Sep 17 00:00:00 2001 From: imClumsyPanda Date: Thu, 27 Apr 2023 07:40:57 +0800 Subject: [PATCH] update model_config.py --- configs/model_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/model_config.py b/configs/model_config.py index c7f3649..40de01a 100644 --- a/configs/model_config.py +++ b/configs/model_config.py @@ -5,6 +5,7 @@ import os embedding_model_dict = { "ernie-tiny": "nghuyong/ernie-3.0-nano-zh", "ernie-base": "nghuyong/ernie-3.0-base-zh", + "text2vec-base": "shibing624/text2vec-base-chinese", "text2vec": "GanymedeNil/text2vec-large-chinese", } @@ -16,10 +17,10 @@ EMBEDDING_DEVICE = "cuda" if torch.cuda.is_available() else "mps" if torch.backe # supported LLM models llm_model_dict = { + "chatyuan": "ClueAI/ChatYuan-large-v2", "chatglm-6b-int4-qe": "THUDM/chatglm-6b-int4-qe", "chatglm-6b-int4": "THUDM/chatglm-6b-int4", "chatglm-6b": "THUDM/chatglm-6b", - "chatyuan": "ClueAI/ChatYuan-large-v2", } # LLM model name