Oleh Kuznetsov
commited on
Standardize system prompt format for AlpacaPrompter (#1190) [skip ci]
Browse files- 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 = "
|
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:"
|