Skip to content

Commit 7971ba2

Browse files
authored
Update max_new_tokens
1 parent aee5f53 commit 7971ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval/chat_benchmarks/alpaca_eval/eval_instruct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def generate_responses(self, model: LM) -> Dict[str, Any]:
105105
(
106106
formatted_instruction,
107107
{
108-
"max_gen_toks": self.max_tokens,
108+
"max_new_tokens": self.max_tokens,
109109
"do_sample": self.do_sample,
110110
"temperature": self.temperature,
111111
},

0 commit comments

Comments
 (0)