dataset_path: HuggingFaceM4/ChartQA test_split: test output_type: generate_until task: chartqa doc_to_image: - image doc_to_text: | {{query}} Analyze the image and question carefully, using step-by-step reasoning. First, describe any image provided in detail. Then, present your reasoning. And finally your final answer in this format: Final Answer: where follows the following instructions: - should should be a single phrase or number. - should not paraphrase or reformat the text in the image. - If is a ratio, it should be a decimal value like 0.25 instead of 1:4. - If the question is a Yes/No question, should be Yes/No. - If is a number, it should not contain any units. - If is a percentage, it should include a % sign. - If is an entity, it should include the full label from the graph. IMPORTANT: Remember, to end your answer with Final Answer: . doc_to_target: "{{ label[0] }}" generation_kwargs: until: [] temperature: 0.0 do_sample: false max_gen_toks: 512 metric_list: - metric: !function utils.exact_match aggregation: mean higher_is_better: true - metric: !function utils.relaxed_accuracy aggregation: mean higher_is_better: true - metric: !function utils.anywhere_accuracy aggregation: mean higher_is_better: true metadata: version: 0.0