We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0581ab3 commit 5f4fe36Copy full SHA for 5f4fe36
lmms_eval/tasks/mmupd/utils.py
@@ -57,7 +57,7 @@ def mmupd_doc_to_text(doc, model_specific_prompt_kwargs=None):
57
"split": doc["split"],
58
}
59
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']}"
+ 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']}"
61
62
if model_specific_prompt_kwargs:
63
query_prompt = f"{query_prompt}{model_specific_prompt_kwargs['post_prompt']}"
0 commit comments