-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(models): add YAML configuration for MMMU random validation task …
…and enhance GPT4V_MMMU model response handling
- Loading branch information
Showing
6 changed files
with
1,146 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
metadata: | ||
version: 0.0 | ||
interleaved_format: false |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
dataset_path: lmms-lab/MMMU_random_100 | ||
task: "mmmu_val_random_100" | ||
test_split: validation | ||
output_type: generate_until | ||
doc_to_visual: !function utils.mmmu_doc_to_visual | ||
doc_to_text: !function utils.mmmu_doc_to_text | ||
doc_to_target: "answer" | ||
# The return value of process_results will be used by metrics | ||
process_results: !function utils.mmmu_process_results | ||
|
||
metric_list: | ||
- metric: mmmu_acc | ||
aggregation: !function utils.mmmu_aggregate_results | ||
higher_is_better: true | ||
|
||
include: _default_template_yaml |
Oops, something went wrong.