Skip to content

Commit 4381f0a

Browse files
authored
Merge pull request #75 from zhangchen-xu/main
fix make_raw_chat_prompt when prefill is disabled
2 parents 202203e + e940724 commit 4381f0a

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)