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(
def match_internvl(model_path: str):
if re.search(r"internvl", model_path, re.IGNORECASE):
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"
......
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