Skip to content

Commit

Permalink
Change boolq rc back to acc
Browse files Browse the repository at this point in the history
  • Loading branch information
liujch1998 committed Nov 19, 2024
1 parent 964062e commit ee99d57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions olmo/eval/downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -1966,8 +1966,8 @@ def doc_to_label(self, doc) -> int:
),
"boolq_train_rc_5shot": (
OEEvalTask,
{"dataset_path": "boolq", "dataset_name": "train_rc_5shot", "metric_type": "len_norm"},
), # this used to be acc
{"dataset_path": "boolq", "dataset_name": "train_rc_5shot", "metric_type": "acc"},
), # kept acc here, since len_norm can bias towards "yes"
"boolq_train_rc_5shot_bpb": (
OEEvalTask,
{"dataset_path": "boolq", "dataset_name": "train_rc_5shot", "metric_type": "bpb"},
Expand All @@ -1982,7 +1982,7 @@ def doc_to_label(self, doc) -> int:
),
"boolq_val_rc_5shot": (
OEEvalTask,
{"dataset_path": "boolq", "dataset_name": "val_rc_5shot", "metric_type": "len_norm"},
{"dataset_path": "boolq", "dataset_name": "val_rc_5shot", "metric_type": "acc"},
),
"boolq_val_rc_5shot_bpb": (
OEEvalTask,
Expand Down

0 comments on commit ee99d57

Please sign in to comment.