From 8fdff07e1f056afa5fe39fe794c6af030fc5f225 Mon Sep 17 00:00:00 2001 From: hiyouga Date: Sat, 21 Oct 2023 01:25:42 +0800 Subject: [PATCH] fix openchat template --- src/llmtuner/extras/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmtuner/extras/template.py b/src/llmtuner/extras/template.py index 9e88768e..a17fde85 100644 --- a/src/llmtuner/extras/template.py +++ b/src/llmtuner/extras/template.py @@ -569,7 +569,7 @@ register_template( prompt=[ "GPT4 User: {{query}}", {"token": "<|end_of_turn|>"}, - "GPT4 Assistant: " + "GPT4 Assistant:" ], system="", sep=[