Skip to content

Commit

Permalink
Support batch eval for trutufulqa mc setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhongw committed Oct 19, 2023
1 parent e11dd37 commit 677cbd0
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 242 deletions.
2 changes: 1 addition & 1 deletion eval/truthfulqa/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def MC_calcs(tag, frame, idx, scores_true, scores_false, ref_true, ref_best):
frame.loc[idx, '{0} MC2'.format(tag)] = sum(probs_true)


def run_end2end_GPT3(model_key, tag, engine, frame, info=False):
def run_gpt3_classifier_eval(model_key, tag, engine, frame, info=False):

"""
Uses a fine-tuned GPT-3 model to predict human evaluations of truth and infomativeness
Expand Down
Loading

0 comments on commit 677cbd0

Please sign in to comment.