Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwei715 committed Feb 20, 2024
1 parent ea01e25 commit eac3744
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions llm_judge/llm_judge.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,16 +687,6 @@ def __init__(
model_judge_infer_config,
)

def _compute_over_one_data(self, question, response, reference) -> Dict[str, Any]:
"""
Compute the metrics over one data point
:param kwargs: the data to compute the metrics over
:returns: the metrics score and the explanation
"""
self.prompt_config["reference"] = reference
res_dic = super()._compute_over_one_data(question, response)
return res_dic

@_open_mpi_handler(worker_inputs="sample_df")
def _compute_over_data(
self,
Expand Down

0 comments on commit eac3744

Please sign in to comment.