Skip to content

Commit

Permalink
revert harcoding
Browse files Browse the repository at this point in the history
  • Loading branch information
clefourrier committed Jan 29, 2025
1 parent 23ad476 commit c3e02ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lighteval/models/endpoints/openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def greedy_until(
position=0,
disable=False, # self.disable_tqdm,
):
max_new_tokens = 500 # dataset[0].generation_size # could be none
max_new_tokens = dataset[0].generation_size # could be none
return_logits = dataset[0].use_logits
num_samples = dataset[0].num_samples
contexts = [c.context for c in dataset]
Expand Down

0 comments on commit c3e02ea

Please sign in to comment.