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

Signed-off-by: Xinyuan Tong <justinning0323@outlook.com>
This commit is contained in:
Xinyuan Tong
2025-07-27 00:22:31 -07:00
committed by GitHub
parent 426b74936a
commit b602f42354

View File

@@ -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"