Urgent Fix: intern-s1 chat-template matching (#8403)
Signed-off-by: Xinyuan Tong <justinning0323@outlook.com>
This commit is contained in:
1 parent
426b74936a
commit
b602f42354
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user