Oleh Kuznetsov commited on
Commit
af02430
1 Parent(s): 8a49309

Standardize system prompt format for AlpacaPrompter (#1190) [skip ci]

Browse files
Files changed (1) hide show
  1. src/axolotl/prompters.py +1 -1
src/axolotl/prompters.py CHANGED
@@ -51,7 +51,7 @@ class AlpacaPrompter(Prompter):
51
  self.turn_no_input_format = (
52
  "### Instruction:\n{instruction}\n\n### Response:\n"
53
  )
54
- self.system_format = "### System:\n{system}\n\n"
55
  if self.prompt_style == PromptStyle.CHAT.value:
56
  self.turn_format = "USER: {instruction}\n{input}\nASSISTANT:"
57
  self.turn_no_input_format = "USER: {instruction}\nASSISTANT:"
 
51
  self.turn_no_input_format = (
52
  "### Instruction:\n{instruction}\n\n### Response:\n"
53
  )
54
+ self.system_format = "{system}\n\n"
55
  if self.prompt_style == PromptStyle.CHAT.value:
56
  self.turn_format = "USER: {instruction}\n{input}\nASSISTANT:"
57
  self.turn_no_input_format = "USER: {instruction}\nASSISTANT:"