Skip to content

Commit

Permalink
add mmmu (EvolvingLMMs-Lab#15)
Browse files Browse the repository at this point in the history
* add mmme

* black
  • Loading branch information
jzhang38 authored Jan 24, 2024
1 parent bbcee02 commit 5039565
Show file tree
Hide file tree
Showing 7 changed files with 436 additions and 45 deletions.
14 changes: 0 additions & 14 deletions lmms_eval/tasks/mmmu/_default_template_yaml

This file was deleted.

4 changes: 0 additions & 4 deletions lmms_eval/tasks/mmmu/_mmmu.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions lmms_eval/tasks/mmmu/mmmu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
dataset_path: lmms-lab/MMMU
task: "mmmu"
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
# Note that the metric name can be either a registed metric function (such as the case for GQA) or a key name returned by process_results
generation_kwargs:
max_new_tokens: 16
image_aspect_ratio: original
metric_list:
- metric: mmmu_acc
aggregation: !function utils.mmmu_aggregate_results
higher_is_better: true
metadata:
- version: 0.0
6 changes: 0 additions & 6 deletions lmms_eval/tasks/mmmu/mmmu_accounting.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions lmms_eval/tasks/mmmu/mmmu_math.yaml

This file was deleted.

Loading

0 comments on commit 5039565

Please sign in to comment.