Add v2 manifest (metadata.json)
Browse files- 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": "
|
| 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": {
|