Urgent Fix: intern-s1 chat-template matching (#8403)
Signed-off-by: Xinyuan Tong <justinning0323@outlook.com>
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user