From 450e04d3c460828be66937426a91cfd161973a87 Mon Sep 17 00:00:00 2001 From: kallewoof Date: Wed, 13 Dec 2023 16:40:02 +0900 Subject: [PATCH] fix: remove excessive newlines in system prompt(s) for alpaca (#936) --- src/axolotl/prompters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/axolotl/prompters.py b/src/axolotl/prompters.py index 033077b1a..73966def3 100644 --- a/src/axolotl/prompters.py +++ b/src/axolotl/prompters.py @@ -33,8 +33,8 @@ class AlpacaPrompter(Prompter): Base class for alpaca prompters """ - system_prompt = "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n" - system_no_input_prompt = "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n" + system_prompt = "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request." + system_no_input_prompt = "Below is an instruction that describes a task. Write a response that appropriately completes the request." system_format: str = "{system}" turn_format: str turn_no_input_format: str