Skip to content

Commit

Permalink
Refactor GPT4V model and MMMU template YAML
Browse files Browse the repository at this point in the history
Refactor the GPT4V model in lmms_eval/models/gpt4v.py to include a check for the "num_beams" key in the gen_kwargs dictionary. Also, update the MMMU template YAML file in lmms_eval/tasks/mmmu/_default_template_yaml to increase the value of "max_new_tokens" from 16 to 1024.
  • Loading branch information
pufanyi committed Jan 16, 2025
1 parent 34853d0 commit ffe7ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmms_eval/tasks/mmmu/_default_template_yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
generation_kwargs:
max_new_tokens: 16
max_new_tokens: 1024

metadata:
version: 0.0
Expand Down

0 comments on commit ffe7ba1

Please sign in to comment.