chore: change models path
This commit is contained in:
parent
e72ed9c2ca
commit
b85add402c
|
@ -16,19 +16,19 @@ def main():
|
||||||
model_name_or_path = ""
|
model_name_or_path = ""
|
||||||
template = ""
|
template = ""
|
||||||
if model == "9g-8B":
|
if model == "9g-8B":
|
||||||
model_name_or_path = "../../../models/sft_8b_v2"
|
model_name_or_path = "/home/ma-user/models/sft_8b_v2"
|
||||||
template = "default"
|
template = "default"
|
||||||
elif model == "Baichuan2-7B":
|
elif model == "Baichuan2-7B":
|
||||||
model_name_or_path = "../../../models/Baichuan2-7B-Base"
|
model_name_or_path = "/home/ma-user/models/Baichuan2-7B-Base"
|
||||||
template = "baichuan2"
|
template = "baichuan2"
|
||||||
elif model == "ChatGLM2-6B":
|
elif model == "ChatGLM2-6B":
|
||||||
model_name_or_path = "../../../models/chatglm2-6b"
|
model_name_or_path = "/home/ma-user/models/chatglm2-6b"
|
||||||
template = "chatglm2"
|
template = "chatglm2"
|
||||||
elif model == "Llama2-7B":
|
elif model == "Llama2-7B":
|
||||||
model_name_or_path = "../../../models/llama-2-7b-ms"
|
model_name_or_path = "/home/ma-user/models/llama-2-7b-ms"
|
||||||
template = "llama2"
|
template = "llama2"
|
||||||
elif model == "Qwen-7B":
|
elif model == "Qwen-7B":
|
||||||
model_name_or_path = "../../../models/qwen"
|
model_name_or_path = "/home/ma-user/models/qwen"
|
||||||
template = "qwen"
|
template = "qwen"
|
||||||
else:
|
else:
|
||||||
print("ERROR: model not supported or model name wrong")
|
print("ERROR: model not supported or model name wrong")
|
||||||
|
|
Loading…
Reference in New Issue