eltociear commited on
Commit
2b9687f
1 Parent(s): 2c9c88b

Update fastchat_conversation_turns.py (#1294) [skip ci]

Browse files
src/axolotl/monkeypatch/fastchat_conversation_turns.py CHANGED
@@ -106,7 +106,7 @@ def get_turns( # pylint: disable=too-many-return-statements
106
  if self.system_message:
107
  contains_sys_msg = True
108
  if self.messages:
109
- # 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
110
  first_role, first_msg = self.messages[0]
111
  if first_role == self.roles[0]:
112
  system_prompt = self.system_template.format(
 
106
  if self.system_message:
107
  contains_sys_msg = True
108
  if self.messages:
109
+ # 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
110
  first_role, first_msg = self.messages[0]
111
  if first_role == self.roles[0]:
112
  system_prompt = self.system_template.format(