Add manifest (metadata.json)
Browse files- metadata.json +15 -14
metadata.json
CHANGED
|
@@ -9,16 +9,18 @@
|
|
| 9 |
"modalities": [
|
| 10 |
"single_image_start"
|
| 11 |
],
|
| 12 |
-
"task_type": "
|
| 13 |
-
"score_type": "
|
| 14 |
-
"score_params": {
|
| 15 |
-
"string_match": "exact"
|
| 16 |
-
},
|
| 17 |
"score_protocol": {
|
| 18 |
-
"reference": "lmms-eval
|
| 19 |
-
"note": "
|
| 20 |
},
|
| 21 |
"prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"mapping_from_source": {
|
| 23 |
"media": {
|
| 24 |
"from": "image",
|
|
@@ -33,10 +35,14 @@
|
|
| 33 |
"from": "question"
|
| 34 |
},
|
| 35 |
"answer": {
|
| 36 |
-
"from": "
|
| 37 |
-
"optional": true
|
|
|
|
| 38 |
},
|
| 39 |
"extra": {
|
|
|
|
|
|
|
|
|
|
| 40 |
"image_id": {
|
| 41 |
"from": "image_id"
|
| 42 |
},
|
|
@@ -53,11 +59,6 @@
|
|
| 53 |
"validation": "https://huggingface.co/datasets/lmms-lab/VQAv2"
|
| 54 |
}
|
| 55 |
}
|
| 56 |
-
},
|
| 57 |
-
"prompt_template_source": {
|
| 58 |
-
"origin": "official",
|
| 59 |
-
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/vqav2/utils.py (vqav2_doc_to_text — canonical short-answer)",
|
| 60 |
-
"notes": "Tier 4: lmms-eval VQAv2 canonical evaluation prompt."
|
| 61 |
}
|
| 62 |
}
|
| 63 |
}
|
|
|
|
| 9 |
"modalities": [
|
| 10 |
"single_image_start"
|
| 11 |
],
|
| 12 |
+
"task_type": "short_answer",
|
| 13 |
+
"score_type": "vqa_accuracy",
|
|
|
|
|
|
|
|
|
|
| 14 |
"score_protocol": {
|
| 15 |
+
"reference": "lmms-eval lmms_eval/tasks/vqav2/utils.py:15-50 (vqav2_process_results) — official VQA accuracy: EvalAIAnswerProcessor punctuation/digit-article normalization on response and each reference, then per-annotator acc=min(1, #matches-among-other-9/3), averaged over the 10-answer list (lines 31-42).",
|
| 16 |
+
"note": "Per-sample scores are fractional (multiples of 1/3 capped at 1, averaged over 10 leave-one-out folds). `answer` carries the full 10-reference list from the source `answers` column (annotator dicts {answer, answer_confidence, answer_id} reduced to their `answer` strings, order preserved; answer_confidence/answer_id dropped). The majority-vote `multiple_choice_answer` is preserved as the pass-through field `mc_answer`."
|
| 17 |
},
|
| 18 |
"prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
|
| 19 |
+
"prompt_template_source": {
|
| 20 |
+
"origin": "official",
|
| 21 |
+
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/vqav2/utils.py (vqav2_doc_to_text — canonical short-answer)",
|
| 22 |
+
"notes": "Tier 4: lmms-eval VQAv2 canonical evaluation prompt."
|
| 23 |
+
},
|
| 24 |
"mapping_from_source": {
|
| 25 |
"media": {
|
| 26 |
"from": "image",
|
|
|
|
| 35 |
"from": "question"
|
| 36 |
},
|
| 37 |
"answer": {
|
| 38 |
+
"from": "answers",
|
| 39 |
+
"optional": true,
|
| 40 |
+
"note": "Source `answers` is a list of 10 {answer, answer_confidence, answer_id} dicts; reduced to the list of 10 `answer` strings (order preserved) during pre-processing."
|
| 41 |
},
|
| 42 |
"extra": {
|
| 43 |
+
"mc_answer": {
|
| 44 |
+
"from": "multiple_choice_answer"
|
| 45 |
+
},
|
| 46 |
"image_id": {
|
| 47 |
"from": "image_id"
|
| 48 |
},
|
|
|
|
| 59 |
"validation": "https://huggingface.co/datasets/lmms-lab/VQAv2"
|
| 60 |
}
|
| 61 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
}
|
| 63 |
}
|
| 64 |
}
|