From c3eb40b971830f785f83419a14f4d61c130c9b0b Mon Sep 17 00:00:00 2001 From: hoshi-hiyouga Date: Wed, 9 Aug 2023 00:58:27 +0800 Subject: [PATCH] fix llama2 template Former-commit-id: 2d90685358c938c1990e6a6fc4b7f98d183522de --- src/llmtuner/extras/template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/llmtuner/extras/template.py b/src/llmtuner/extras/template.py index 77d2dd4c..5f120253 100644 --- a/src/llmtuner/extras/template.py +++ b/src/llmtuner/extras/template.py @@ -242,7 +242,6 @@ register_template( "If you don't know the answer to a question, please don't share false information.\n<>\n\n" ], prompt=[ - {"token": ""}, "[INST] {{query}} [/INST] " ], sep=[],