From 811301c5280ddd74986645086f026ab730c8848c Mon Sep 17 00:00:00 2001 From: AtsuMiyai Date: Wed, 29 May 2024 12:46:58 +0900 Subject: [PATCH] add upd --- lmms_eval/tasks/mmupdbench/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmms_eval/tasks/mmupdbench/utils.py b/lmms_eval/tasks/mmupdbench/utils.py index cb67f36b..146c011e 100644 --- a/lmms_eval/tasks/mmupdbench/utils.py +++ b/lmms_eval/tasks/mmupdbench/utils.py @@ -60,7 +60,7 @@ def mmupdbench_doc_to_text(doc, model_specific_prompt_kwargs=None): query_prompt = f"{data['hint']} {data['question']} {data['options']}" if pd.notna(data["hint"]) and data["hint"] != "nan" else f"{data['question']} {data['options']}" if model_specific_prompt_kwargs: - query_prompt = f"{query_prompt}{model_specific_prompt_kwargs['post_prompt']}" # 後でここを変更する。 + query_prompt = f"{query_prompt}{model_specific_prompt_kwargs['post_prompt']}" return query_prompt