Add BOS to ChatML template

This commit is contained in:
turboderp
2024-05-05 17:09:01 +02:00
parent 426fbca344
commit 11aec2abf4

View File

@@ -218,6 +218,9 @@ class PromptFormat_chatml(PromptFormat):
text += "<|im_end|>\n"
return text
def context_bos(self):
return True
class PromptFormat_tinyllama(PromptFormat_chatml):