From 4a018e706f0be37c0d4aa6a44a7dd43d3811eca0 Mon Sep 17 00:00:00 2001 From: teleprint-me <77757836+teleprint-me@users.noreply.github.com> Date: Sun, 12 May 2024 20:08:37 -0400 Subject: [PATCH] feat: Add assistant turn --- gguf-py/scripts/gguf-template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gguf-py/scripts/gguf-template.py b/gguf-py/scripts/gguf-template.py index cfa8bbfb36..dff9023ca3 100644 --- a/gguf-py/scripts/gguf-template.py +++ b/gguf-py/scripts/gguf-template.py @@ -69,6 +69,7 @@ def display_chat_template(chat_template: str, format_template: bool = False): messages=[ {"role": "system", "content": "I am a helpful assistant."}, {"role": "user", "content": "Hello!"}, + {"role": "assistant", "content": "Hello! How may I assist you today?"}, ], bos_token="[BOS]", eos_token="[EOS]",