ZTWHHH commited on
Commit
ae31aaa
·
verified ·
1 Parent(s): d803c8d

Add manifest (metadata.json)

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