ZTWHHH commited on
Commit
bf1776f
·
verified ·
1 Parent(s): 33e22e6

Add v2 manifest (metadata.json)

Browse files
Files changed (1) hide show
  1. metadata.json +5 -2
metadata.json CHANGED
@@ -10,7 +10,7 @@
10
  "single_image_start"
11
  ],
12
  "task_type": "vqa",
13
- "prompt_template": "<image>{{ question }}",
14
  "mapping_from_source": {
15
  "media": {
16
  "from": "image",
@@ -19,7 +19,7 @@
19
  "max_items": 1
20
  },
21
  "id": {
22
- "from": "__index__"
23
  },
24
  "question": {
25
  "from": "question"
@@ -31,6 +31,9 @@
31
  "extra": {
32
  "catagory": {
33
  "from": "catagory"
 
 
 
34
  }
35
  },
36
  "source": {
 
10
  "single_image_start"
11
  ],
12
  "task_type": "vqa",
13
+ "prompt_template": "{% if has_image %}<image>{% endif %}{{ question }}",
14
  "mapping_from_source": {
15
  "media": {
16
  "from": "image",
 
19
  "max_items": 1
20
  },
21
  "id": {
22
+ "from": "id"
23
  },
24
  "question": {
25
  "from": "question"
 
31
  "extra": {
32
  "catagory": {
33
  "from": "catagory"
34
+ },
35
+ "has_image": {
36
+ "from": "has_image"
37
  }
38
  },
39
  "source": {