File size: 2,071 Bytes
ae31aaa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
  "name": "ScienceQA-IMG",
  "release_date": "2022-09-20",
  "subsets": {
    "default": {
      "language": [
        "en"
      ],
      "modalities": [
        "single_image_start"
      ],
      "task_type": "multiple_choice_vqa",
      "prompt_template": "<image>{{ question }}{% if hint %}\nContext: {{ hint }}{% endif %}\n{% for k, v in options.items() %}{{ k }}. {{ v }}\n{% endfor %}Answer with the option's letter from the given choices directly.",
      "prompt_template_source": {
        "origin": "official",
        "reference": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG",
        "notes": "Tier 1: ScienceQA-IMG MCQ (image subset) with choices list, answer index; maps to A-D letter answer; preserves hint/grade/subject/topic."
      },
      "mapping_from_source": {
        "media": {
          "from": "images",
          "type": "list",
          "min_items": 1,
          "max_items": 1
        },
        "id": {
          "from": "id"
        },
        "question": {
          "from": "question"
        },
        "answer": {
          "from": "answer",
          "optional": true
        },
        "hint": {
          "from": "hint",
          "optional": true
        },
        "options": {
          "from": "options",
          "optional": true,
          "note": "list source values are normalized to {A,B,...} dict"
        },
        "extra": {
          "n_images": {
            "from": "n_images"
          },
          "task": {
            "from": "task"
          },
          "grade": {
            "from": "grade"
          },
          "subject": {
            "from": "subject"
          },
          "topic": {
            "from": "topic"
          }
        },
        "source": {
          "format": "json",
          "url": {
            "train": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG",
            "validation": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG",
            "test": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG"
          }
        }
      }
    }
  }
}