From 031a819257f67297858ec5159b3fd5c72fb1e57e 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: 6c74f726d4e672f5a1a57df201c27c1f697384f0 --- 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=[],