Skip to content

Commit

Permalink
fix return for complete_code
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmatical committed Jan 4, 2024
1 parent 8cffbfd commit 88fec42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bigcode_eval/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ def complete_code(
gen_token_dict,
)

return intermediate_generations.extend(code_gens)
intermediate_generations.extend(code_gens)
return intermediate_generations


def update_code_gens(
Expand Down

0 comments on commit 88fec42

Please sign in to comment.