Skip to content

Commit

Permalink
match is chat
Browse files Browse the repository at this point in the history
  • Loading branch information
AllentDan committed Mar 6, 2024
1 parent 34a36ce commit b459083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdeploy/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def match(cls, model_path: str) -> Optional[str]:
model_path (str): the model path used for matching.
"""
path = model_path.lower()
if 'internlm2' in path and 'chat' in path:
if 'internlm2' in path and ('chat' in path or 'math' in path):
return 'internlm2-chat'


Expand Down

0 comments on commit b459083

Please sign in to comment.