Tuchuanhuhuhu commited on
Commit
2d8a06c
1 Parent(s): b8e4532

修复路径问题

Browse files
Files changed (1) hide show
  1. modules/models/MOSS.py +1 -1
modules/models/MOSS.py CHANGED
@@ -30,7 +30,7 @@ class MOSS_Client(BaseLLMModel):
30
  logger.setLevel("ERROR")
31
  warnings.filterwarnings("ignore")
32
  if MOSS_MODEL is None:
33
- model_path = "/home/guest/llm_models/moss/moss-moon-003-sft"
34
  if not os.path.exists(model_path):
35
  model_path = snapshot_download("fnlp/moss-moon-003-sft")
36
 
 
30
  logger.setLevel("ERROR")
31
  warnings.filterwarnings("ignore")
32
  if MOSS_MODEL is None:
33
+ model_path = "models/moss-moon-003-sft"
34
  if not os.path.exists(model_path):
35
  model_path = snapshot_download("fnlp/moss-moon-003-sft")
36