Skip to content

Commit

Permalink
Fixing eval script, working FSDP config
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Oct 8, 2024
1 parent f5fd9ff commit 4b30dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdelfin/eval/runeval.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def process_jsonl_file(jsonl_file, gold_data, comparer):
if data.error is not None:
total_errors += 1

if data.finish_reason != "stop":
if data.error is None and data.finish_reason != "stop":
total_overruns += 1

if len(gold_text.strip()) < 3 and len(eval_text.strip()) < 3:
Expand Down

0 comments on commit 4b30dd8

Please sign in to comment.