ZTWHHH commited on
Commit
211f2f1
·
verified ·
1 Parent(s): 16ba22a

metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)

Browse files
Files changed (1) hide show
  1. metadata.json +57 -55
metadata.json CHANGED
@@ -1,58 +1,60 @@
1
  {
2
- "name": "BenchLMM",
3
- "release_date": "2024-07-01",
4
- "subsets": {
5
- "main": {
6
- "language": [
7
- "en"
8
- ],
9
- "modalities": [
10
- "single_image_start"
11
- ],
12
- "task_type": "short_answer_qa",
13
- "score_type": "llm_judge",
14
- "score_params": {
15
- "rubric": "scale",
16
- "scale": [
17
- 0,
18
- 1
19
- ],
20
- "official_judge_model": "gpt-4-0613"
21
- },
22
- "score_protocol": {
23
- "reference": "official@github.com/AIFEG/BenchLMM evaluate/gpt_evaluation_script.py — GPT judge prompt: 'Compare the ground truth and prediction from AI models, to give a correctness score for the prediction' ignoring case/grammar, '/' = multiple acceptable answers, similar meaning gets full marks; judge outputs a score in {0.0,0.1,...,1.0}; example model gpt-4-0613; final metric = mean score (avg_score.py).",
24
- "note": "Every sample is LLM-judged with fractional credit on a 0-1 scale (11 discrete values); headline is the mean per-sample score, not binary accuracy. The mm-eval copy has only 96 rows (test split) whereas official BenchLMM spans many style/domain files (CT, MRI, infrared, AD, RS, styles, Robots/Games, each with its own eval variant) — published copy appears to be a small subset."
25
- },
26
- "prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
27
- "mapping_from_source": {
28
- "media": {
29
- "from": "image",
30
- "type": "list",
31
- "min_items": 1,
32
- "max_items": 1
33
- },
34
- "id": {
35
- "from": "id"
36
- },
37
- "question": {
38
- "from": "question"
39
- },
40
- "answer": {
41
- "from": "answer",
42
- "optional": true
43
- },
44
- "source": {
45
- "format": "json",
46
- "url": {
47
- "test": "https://huggingface.co/datasets/AIFEG/BenchLMM"
48
- }
 
 
 
 
 
 
 
 
 
49
  }
50
- },
51
- "prompt_template_source": {
52
- "origin": "official",
53
- "reference": "https://github.com/AIFEG/BenchLMM/blob/main/baseline/LLaVA/BenchGPT_LLaVA_model_vqa.py#L44-L49 (qs = line['text']; DEFAULT_IMAGE_TOKEN + '\\n' + qs); trailer '\\nAnswer the question using a single word or phrase.' is embedded in every official jsonl 'text' field, e.g. https://github.com/AIFEG/BenchLMM/blob/main/jsonl/Benchmark_style_cartoon.jsonl",
54
- "notes": "Tier 1: BenchLMM authors' own inference script feeds <image>\\n + question, and the official jsonl question text carries the '\\nAnswer the question using a single word or phrase.' trailer; the mm-eval template reproduces this (trailer re-appended because the mm-eval question column is trailer-free)."
55
- }
56
  }
57
- }
58
- }
 
1
  {
2
+ "name": "BenchLMM",
3
+ "release_date": "2024-07-01",
4
+ "subsets": {
5
+ "main": {
6
+ "language": [
7
+ "en"
8
+ ],
9
+ "modalities": [
10
+ "single_image_start"
11
+ ],
12
+ "task_type": "short_answer_qa",
13
+ "score_pipeline": [
14
+ "llm-judge"
15
+ ],
16
+ "score_params": {
17
+ "rubric": "scale",
18
+ "scale": [
19
+ 0,
20
+ 1
21
+ ],
22
+ "official_judge_model": "gpt-4-0613"
23
+ },
24
+ "score_protocol": {
25
+ "reference": "official@github.com/AIFEG/BenchLMM evaluate/gpt_evaluation_script.py — GPT judge prompt: 'Compare the ground truth and prediction from AI models, to give a correctness score for the prediction' ignoring case/grammar, '/' = multiple acceptable answers, similar meaning gets full marks; judge outputs a score in {0.0,0.1,...,1.0}; example model gpt-4-0613; final metric = mean score (avg_score.py).",
26
+ "note": "Every sample is LLM-judged with fractional credit on a 0-1 scale (11 discrete values); headline is the mean per-sample score, not binary accuracy. The mm-eval copy has only 96 rows (test split) whereas official BenchLMM spans many style/domain files (CT, MRI, infrared, AD, RS, styles, Robots/Games, each with its own eval variant) — published copy appears to be a small subset."
27
+ },
28
+ "prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
29
+ "mapping_from_source": {
30
+ "media": {
31
+ "from": "image",
32
+ "type": "list",
33
+ "min_items": 1,
34
+ "max_items": 1
35
+ },
36
+ "id": {
37
+ "from": "id"
38
+ },
39
+ "question": {
40
+ "from": "question"
41
+ },
42
+ "answer": {
43
+ "from": "answer",
44
+ "optional": true
45
+ },
46
+ "source": {
47
+ "format": "json",
48
+ "url": {
49
+ "test": "https://huggingface.co/datasets/AIFEG/BenchLMM"
50
+ }
51
+ }
52
+ },
53
+ "prompt_template_source": {
54
+ "origin": "official",
55
+ "reference": "https://github.com/AIFEG/BenchLMM/blob/main/baseline/LLaVA/BenchGPT_LLaVA_model_vqa.py#L44-L49 (qs = line['text']; DEFAULT_IMAGE_TOKEN + '\\n' + qs); trailer '\\nAnswer the question using a single word or phrase.' is embedded in every official jsonl 'text' field, e.g. https://github.com/AIFEG/BenchLMM/blob/main/jsonl/Benchmark_style_cartoon.jsonl",
56
+ "notes": "Tier 1: BenchLMM authors' own inference script feeds <image>\\n + question, and the official jsonl question text carries the '\\nAnswer the question using a single word or phrase.' trailer; the mm-eval template reproduces this (trailer re-appended because the mm-eval question column is trailer-free)."
57
+ }
58
  }
 
 
 
 
 
 
59
  }
60
+ }