Skip to content

Commit 5f4fe36

Browse files
committed
slightly change query_prompt for the reproduction
1 parent 0581ab3 commit 5f4fe36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmms_eval/tasks/mmupd/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def mmupd_doc_to_text(doc, model_specific_prompt_kwargs=None):
5757
"split": doc["split"],
5858
}
5959

60-
query_prompt = f"{data['hint']} {data['question']} {data['options']}" if pd.notna(data["hint"]) and data["hint"] != "nan" else f"{data['question']} {data['options']}"
60+
query_prompt = f"{data['hint']}\n{data['question']}{data['options']}" if pd.notna(data["hint"]) and data["hint"] != "nan" else f"{data['question']}{data['options']}"
6161

6262
if model_specific_prompt_kwargs:
6363
query_prompt = f"{query_prompt}{model_specific_prompt_kwargs['post_prompt']}"

0 commit comments

Comments
 (0)