From c527399424d027a49d8584f4f7884eeabe5ea0df Mon Sep 17 00:00:00 2001 From: hiyouga Date: Thu, 15 Jun 2023 14:36:55 +0800 Subject: [PATCH] fix bug in template vanilla --- src/utils/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/template.py b/src/utils/template.py index 5354f32..1179a0c 100644 --- a/src/utils/template.py +++ b/src/utils/template.py @@ -15,7 +15,7 @@ class Template: """ self._register_template( prefix="", - prompt="", + prompt="{query}", sep="", use_history=False )