Skip to content

Commit

Permalink
add max_new_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
pufanyi committed Dec 2, 2024
1 parent aa5c5bf commit 11540d1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ metric_list:
higher_is_better: true

generation_kwargs:
max_new_tokens: 16
max_new_tokens: 1024

include: _default_template_yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metric_list:
higher_is_better: true

generation_kwargs:
max_new_tokens: 16
max_new_tokens: 1024

include: _default_template_yaml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc_to_text: !function utils.mix_evals_image2text_doc_to_text
doc_to_target: "{{reference_answer}}"

generation_kwargs:
max_new_tokens: 5
max_new_tokens: 1024

metric_list:
- metric: exact_match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc_to_text: !function utils.mix_evals_image2text_doc_to_text
doc_to_target: "{{reference_answer}}"

generation_kwargs:
max_new_tokens: 5
max_new_tokens: 1024

metric_list:
- metric: exact_match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metric_list:
higher_is_better: true

generation_kwargs:
max_new_tokens: 16
max_new_tokens: 1024

include: _default_template_yaml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metric_list:
higher_is_better: true

generation_kwargs:
max_new_tokens: 16
max_new_tokens: 1024

include: _default_template_yaml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc_to_text: !function utils.mix_evals_video2text_doc_to_text
doc_to_target: "{{reference_answer}}"

generation_kwargs:
max_new_tokens: 5
max_new_tokens: 1024

metric_list:
- metric: exact_match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc_to_text: !function utils.mix_evals_video2text_doc_to_text
doc_to_target: "{{reference_answer}}"

generation_kwargs:
max_new_tokens: 5
max_new_tokens: 1024

metric_list:
- metric: exact_match
Expand Down

0 comments on commit 11540d1

Please sign in to comment.