From 2b9687f3416e49a05aa51817bd42eea8a43c95a8 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 27 Feb 2024 23:06:10 +0900 Subject: [PATCH] Update fastchat_conversation_turns.py (#1294) [skip ci] seperated -> separated --- src/axolotl/monkeypatch/fastchat_conversation_turns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axolotl/monkeypatch/fastchat_conversation_turns.py b/src/axolotl/monkeypatch/fastchat_conversation_turns.py index aafdabe54..d09ab5075 100644 --- a/src/axolotl/monkeypatch/fastchat_conversation_turns.py +++ b/src/axolotl/monkeypatch/fastchat_conversation_turns.py @@ -106,7 +106,7 @@ def get_turns( # pylint: disable=too-many-return-statements if self.system_message: contains_sys_msg = True if self.messages: - # There is no clear guidance on how to handle system messages in Mistral so we just prepend it to the first human instruction seperated by a newline + # There is no clear guidance on how to handle system messages in Mistral so we just prepend it to the first human instruction separated by a newline first_role, first_msg = self.messages[0] if first_role == self.roles[0]: system_prompt = self.system_template.format(