Skip to content

Commit

Permalink
Fix type hint for play_a_match_single (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeyLeeT authored Feb 4, 2024
1 parent 3bef934 commit 81785d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastchat/llm_judge/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def run_judge_single(question, answer, judge, ref_answer, multi_turn=False):
return rating, user_prompt, judgment


def play_a_match_single(match: MatchPair, output_file: str):
def play_a_match_single(match: MatchSingle, output_file: str):
question, model, answer, judge, ref_answer, multi_turn = (
match.question,
match.model,
Expand Down

0 comments on commit 81785d7

Please sign in to comment.