Skip to content

Commit

Permalink
Standardize system prompt format for AlpacaPrompter (#1190) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sadaisystems committed Jan 24, 2024
1 parent 8a49309 commit af02430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axolotl/prompters.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def match_prompt_style(self):
self.turn_no_input_format = (
"### Instruction:\n{instruction}\n\n### Response:\n"
)
self.system_format = "### System:\n{system}\n\n"
self.system_format = "{system}\n\n"
if self.prompt_style == PromptStyle.CHAT.value:
self.turn_format = "USER: {instruction}\n{input}\nASSISTANT:"
self.turn_no_input_format = "USER: {instruction}\nASSISTANT:"
Expand Down

0 comments on commit af02430

Please sign in to comment.