Skip to content

Commit f7adbb9

Browse files
gushiqiaogushiqiao
andauthored
Fix bug (#245)
Co-authored-by: gushiqiao <gushiqiao@sensetime.com>
1 parent 5884053 commit f7adbb9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎llmc/eval/eval_code.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def gen_prompt(self, prompt):
6666
chat_prompt = self.tokenizer.apply_chat_template(
6767
chat_prompt,
6868
tokenize=False,
69-
add_generation_prompt=True
7069
)
7170
return chat_prompt
7271

0 commit comments

Comments
 (0)