Skip to content

Commit

Permalink
Fix eval_usmle
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesunyun committed Jun 28, 2023
1 parent 8e98505 commit f811d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval/eval_usmle.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def main(
pbar = tqdm(step)
pbar.set_description_str(f"Evaluating USMLE Step {step_idx}")
for i, question in enumerate(pbar):
if skip_if_exists and i <= len(answers):
if skip_if_exists and (i+1) <= len(answers):
continue
for j in range(ntries):
response = model(
Expand Down

0 comments on commit f811d9a

Please sign in to comment.