diff --git a/torchtune/data/_chat_formats.py b/torchtune/data/_chat_formats.py index 59024817c..607182723 100644 --- a/torchtune/data/_chat_formats.py +++ b/torchtune/data/_chat_formats.py @@ -117,7 +117,7 @@ class MistralChatFormat(ChatFormat): """ B_INST, E_INST = "[INST]", "[/INST]" - system = "" + system = None user = f"{B_INST} {{content}} {E_INST} " assistant = ""