Skip to content

Commit

Permalink
Salamandra: fix chat template only applies to instruct
Browse files Browse the repository at this point in the history
  • Loading branch information
ysjprojects committed Dec 6, 2024
1 parent 7cfc086 commit 2f35d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litgpt/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def model_name_to_prompt_style(model_name: str) -> PromptStyle:
return Qwen2_5()
if re.search(r"QwQ-.*", model_name):
return QwQ()
if re.search(r"salamandra-.*", model_name):
if re.search(r"salamandra-.*-instruct", model_name):
return Salamandra()
return Default()

Expand Down

0 comments on commit 2f35d56

Please sign in to comment.