Skip to content

Commit

Permalink
add upd
Browse files Browse the repository at this point in the history
  • Loading branch information
AtsuMiyai committed May 29, 2024
1 parent 71401ba commit 811301c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmms_eval/tasks/mmupdbench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 811301c

Please sign in to comment.