ZTWHHH commited on
Commit
d8cb815
·
verified ·
1 Parent(s): efb7c1a

Add manifest (metadata.json)

Browse files
Files changed (1) hide show
  1. metadata.json +79 -79
metadata.json CHANGED
@@ -1,82 +1,82 @@
1
  {
2
- "name": "EMMA",
3
- "release_date": "2026-07-07",
4
- "subsets": {
5
- "main": {
6
- "language": [
7
- "en"
8
- ],
9
- "modalities": [
10
- "multi_image_interleave",
11
- "text"
12
- ],
13
- "task_type": "multiple_choice",
14
- "score_type": "rule_llm_judge",
15
- "score_protocol": {
16
- "reference": "official EMMA-Bench/EMMA@evaluation/evaluate.py — rule-based fast_extract_answer (letter/number/boxed/'answer is' patterns) + is_equal compare by default; optional --gpt_eval mode where GPT-4o judges and 'correct' in the response decides the score; evaluation/calculate_acc.py aggregates. lmms-eval@lmms_eval/tasks/emma/utils.py:159-200 (LLM judge with fast_extract_answer+is_equal fallback, emma_all.yaml use_lmms_judge: True).",
17
- "note": "Framework implementations lean judge-heavier than the official default: lmms-eval judges every sample (use_lmms_judge), VLMEvalKit EMMADataset inherits ImageShortQADataset's all-LLM binary judge (image_shortqa.py:15-48). Classified rule_llm_judge: deterministic extraction resolves direct letter/short answers (the published prompt requests direct answers), LLM resolves the remainder — consistent with official fast-eval + LLMs-eval pairing. EMMA is mixed MCQ/open (options optional); task_type multiple_choice as majority format (2002/2788 rows are Multiple Choice)."
18
- },
19
- "prompt_template": "{% if context %}{{ context }}\n{% endif %}{{ question }}{% if options %}\n\n{% for k, v in options.items() %}({{ k }}) {{ v }}\n{% endfor %}\nAnswer with the option's letter from the given choices directly.{% else %}\n\nAnswer the question using a single word or phrase.{% endif %}",
20
- "prompt_template_source": {
21
- "origin": "official",
22
- "reference": "https://huggingface.co/datasets/luckychao/EMMA; context+question+options structure per official EMMA-Bench/EMMA@data_utils.py L25-52 (build_query: '{context}\\n{question}\\n{options}\\n...') and lmms-eval@lmms_eval/tasks/emma/utils.py L27-31",
23
- "notes": "Tier 1: EMMA uses MMMU-style <image_N> markers in question/options; MCQ letter-answer convention. Re-conversion 2026-07-07: restored the options block data (options were dropped in the previous upload) and prepended '{% if context %}{{ context }}\\n{% endif %}' because the official build_query renders context before the question (57 Physics rows carry a non-empty context block of physical constants that the previous upload dropped). The direct-answer trailers are kept from the previously published template; the official EMMA eval prompt additionally requests \\boxed{} + CoT (configs/gpt.yaml) — intentional deviation preserved from the published copy."
24
- },
25
- "mapping_from_source": {
26
- "source": {
27
- "format": "json",
28
- "url": {
29
- "test": "https://huggingface.co/datasets/luckychao/EMMA"
30
- }
31
- },
32
- "id": {
33
- "from": "id",
34
- "note": "source column 'pid' (e.g. Math_1, chem_1, coding_1, phy_1), copied verbatim during pre-download."
35
- },
36
- "question": {
37
- "from": "question",
38
- "note": "<image_N> refs normalized to the canonical <image> placeholder; referenced images materialized into media in textual order."
39
- },
40
- "options": {
41
- "from": "options",
42
- "optional": true,
43
- "note": "list source values are normalized to {A,B,...} dict. 301 rows reference images inside option strings via <image_N>; those refs are normalized to <image> and the referenced images are appended to media in option order (after question refs), so placeholder count == media count. 4 rows repeat a ref (chem_115, chem_139, Math_105, Math_544) — the repeated image is duplicated in media, whereas the official pipeline deduplicates and sends it once."
44
- },
45
- "answer": {
46
- "from": "answer",
47
- "optional": true
48
- },
49
- "media": {
50
- "from": "media",
51
- "type": "list",
52
- "min_items": 0,
53
- "max_items": 5,
54
- "note": "materialized during pre-download from source columns image_1..image_5, one entry per <image_N> occurrence across context/question/options in template render order. chem_146 references no images anywhere (its 2 source images are unreferenced) and is a text-only row with media=[], mirroring the official pipeline which sends no image for it."
55
- },
56
- "extra": {
57
- "context": {
58
- "from": "context"
59
- },
60
- "type": {
61
- "from": "type"
62
- },
63
- "subject": {
64
- "from": "subject"
65
- },
66
- "task": {
67
- "from": "task"
68
- },
69
- "category": {
70
- "from": "category"
71
- },
72
- "source_dataset": {
73
- "from": "source_dataset"
74
- },
75
- "solution": {
76
- "from": "solution"
77
- }
78
- }
79
- }
80
  }
 
81
  }
82
- }
 
 
1
  {
2
+ "name": "EMMA",
3
+ "release_date": "2026-07-07",
4
+ "subsets": {
5
+ "main": {
6
+ "language": [
7
+ "en"
8
+ ],
9
+ "modalities": [
10
+ "multi_image_interleave",
11
+ "text"
12
+ ],
13
+ "task_type": "multiple_choice_qa",
14
+ "score_type": "rule_llm_judge",
15
+ "score_protocol": {
16
+ "reference": "official EMMA-Bench/EMMA@evaluation/evaluate.py — rule-based fast_extract_answer (letter/number/boxed/'answer is' patterns) + is_equal compare by default; optional --gpt_eval mode where GPT-4o judges and 'correct' in the response decides the score; evaluation/calculate_acc.py aggregates. lmms-eval@lmms_eval/tasks/emma/utils.py:159-200 (LLM judge with fast_extract_answer+is_equal fallback, emma_all.yaml use_lmms_judge: True).",
17
+ "note": "Framework implementations lean judge-heavier than the official default: lmms-eval judges every sample (use_lmms_judge), VLMEvalKit EMMADataset inherits ImageShortQADataset's all-LLM binary judge (image_shortqa.py:15-48). Classified rule_llm_judge: deterministic extraction resolves direct letter/short answers (the published prompt requests direct answers), LLM resolves the remainder — consistent with official fast-eval + LLMs-eval pairing. EMMA is mixed MCQ/open (options optional); task_type multiple_choice as majority format (2002/2788 rows are Multiple Choice)."
18
+ },
19
+ "prompt_template": "{% if context %}{{ context }}\n{% endif %}{{ question }}{% if options %}\n\n{% for k, v in options.items() %}({{ k }}) {{ v }}\n{% endfor %}\nAnswer with the option's letter from the given choices directly.{% else %}\n\nAnswer the question using a single word or phrase.{% endif %}",
20
+ "prompt_template_source": {
21
+ "origin": "official",
22
+ "reference": "https://huggingface.co/datasets/luckychao/EMMA; context+question+options structure per official EMMA-Bench/EMMA@data_utils.py L25-52 (build_query: '{context}\\n{question}\\n{options}\\n...') and lmms-eval@lmms_eval/tasks/emma/utils.py L27-31",
23
+ "notes": "Tier 1: EMMA uses MMMU-style <image_N> markers in question/options; MCQ letter-answer convention. Re-conversion 2026-07-07: restored the options block data (options were dropped in the previous upload) and prepended '{% if context %}{{ context }}\\n{% endif %}' because the official build_query renders context before the question (57 Physics rows carry a non-empty context block of physical constants that the previous upload dropped). The direct-answer trailers are kept from the previously published template; the official EMMA eval prompt additionally requests \\boxed{} + CoT (configs/gpt.yaml) — intentional deviation preserved from the published copy."
24
+ },
25
+ "mapping_from_source": {
26
+ "source": {
27
+ "format": "json",
28
+ "url": {
29
+ "test": "https://huggingface.co/datasets/luckychao/EMMA"
30
+ }
31
+ },
32
+ "id": {
33
+ "from": "id",
34
+ "note": "source column 'pid' (e.g. Math_1, chem_1, coding_1, phy_1), copied verbatim during pre-download."
35
+ },
36
+ "question": {
37
+ "from": "question",
38
+ "note": "<image_N> refs normalized to the canonical <image> placeholder; referenced images materialized into media in textual order."
39
+ },
40
+ "options": {
41
+ "from": "options",
42
+ "optional": true,
43
+ "note": "list source values are normalized to {A,B,...} dict. 301 rows reference images inside option strings via <image_N>; those refs are normalized to <image> and the referenced images are appended to media in option order (after question refs), so placeholder count == media count. 4 rows repeat a ref (chem_115, chem_139, Math_105, Math_544) — the repeated image is duplicated in media, whereas the official pipeline deduplicates and sends it once."
44
+ },
45
+ "answer": {
46
+ "from": "answer",
47
+ "optional": true
48
+ },
49
+ "media": {
50
+ "from": "media",
51
+ "type": "list",
52
+ "min_items": 0,
53
+ "max_items": 5,
54
+ "note": "materialized during pre-download from source columns image_1..image_5, one entry per <image_N> occurrence across context/question/options in template render order. chem_146 references no images anywhere (its 2 source images are unreferenced) and is a text-only row with media=[], mirroring the official pipeline which sends no image for it."
55
+ },
56
+ "extra": {
57
+ "context": {
58
+ "from": "context"
59
+ },
60
+ "type": {
61
+ "from": "type"
62
+ },
63
+ "subject": {
64
+ "from": "subject"
65
+ },
66
+ "task": {
67
+ "from": "task"
68
+ },
69
+ "category": {
70
+ "from": "category"
71
+ },
72
+ "source_dataset": {
73
+ "from": "source_dataset"
74
+ },
75
+ "solution": {
76
+ "from": "solution"
77
+ }
 
 
78
  }
79
+ }
80
  }
81
+ }
82
+ }