danielsteinigen
commited on
add default system prompt
Browse files- gptx_tokenizer.py +2 -1
gptx_tokenizer.py
CHANGED
@@ -459,4 +459,5 @@ class SPTokenizer(HFGPTXTokenizer):
|
|
459 |
self.chat_template = {
|
460 |
lang: f"System: {sys_msg}" + "{{- '\\n'}}\n" + chat_template
|
461 |
for lang, sys_msg in self.system_messages_by_lang.items()
|
462 |
-
}
|
|
|
|
459 |
self.chat_template = {
|
460 |
lang: f"System: {sys_msg}" + "{{- '\\n'}}\n" + chat_template
|
461 |
for lang, sys_msg in self.system_messages_by_lang.items()
|
462 |
+
}
|
463 |
+
self.chat_template['default'] = f"System: {self.system_messages_by_lang['EN']}" + "{{- '\\n'}}\n" + chat_template
|