add upd · MichalCiesiolka/lmms-eval-llmzszl@811301c (original) (raw)
File tree
1 file changed
lines changed
- lmms_eval/tasks/mmupdbench
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -60,7 +60,7 @@ def mmupdbench_doc_to_text(doc, model_specific_prompt_kwargs=None): | ||
60 | 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']}" |
61 | 61 | |
62 | 62 | if model_specific_prompt_kwargs: |
63 | -query_prompt = f"{query_prompt}{model_specific_prompt_kwargs['post_prompt']}" # 後でここを変更する。 | |
63 | +query_prompt = f"{query_prompt}{model_specific_prompt_kwargs['post_prompt']}" | |
64 | 64 | |
65 | 65 | return query_prompt |
66 | 66 |