"git@developer.sourcefind.cn:change/sglang.git" did not exist on "286cad3ee31b360a2c374ce7da6fac9731f913c2"
Unverified Commit b602f423 authored by Xinyuan Tong's avatar Xinyuan Tong Committed by GitHub
Browse files

Urgent Fix: intern-s1 chat-template matching (#8403)


Signed-off-by: default avatarXinyuan Tong <justinning0323@outlook.com>
parent 426b7493
...@@ -999,7 +999,7 @@ register_conv_template( ...@@ -999,7 +999,7 @@ register_conv_template(
def match_internvl(model_path: str): def match_internvl(model_path: str):
if re.search(r"internvl", model_path, re.IGNORECASE): if re.search(r"internvl", model_path, re.IGNORECASE):
return "internvl-2-5" return "internvl-2-5"
if re.search(r"interns1", model_path, re.IGNORECASE): if re.search(r"intern.*s1", model_path, re.IGNORECASE):
return "interns1" return "interns1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment