Skip to content

Commit e940724

Browse files
committed
fix make_raw_chat_prompt when prefill is disabled
1 parent 202203e commit e940724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigcodebench/provider/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def make_raw_chat_prompt(
7272
[
7373
{"role": "user", "content": task_prompt},
7474
],
75-
tokenize=False,
75+
tokenize=False, add_generation_prompt=True
7676
).split(_MAGIC_SPLITTER_)[0]
7777
return task_prompt
7878

0 commit comments

Comments
 (0)