Skip to content

Commit

Permalink
fix: typo in generate
Browse files Browse the repository at this point in the history
  • Loading branch information
terryyz committed Jun 27, 2024
1 parent 7c36dd7 commit afbf8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigcodebench/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def codegen(
dataset = get_bigcodebench()

if model.is_direct_completion() and subset == "instruct":
raise Exception("Base model does not support direct completion for instructode tasks")
raise Exception("Base model does not support direct completion for instruct tasks")

# create save_path if it doesn't exist, e.g., a/b.jsonl
dirname = os.path.dirname(save_path)
Expand Down

0 comments on commit afbf8de

Please sign in to comment.