Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 557164191
  • Loading branch information
T5 Team authored and t5-copybara committed Aug 15, 2023
1 parent 258fd30 commit 24d9d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t5/evaluation/eval_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def metric_group_max(df, metric_names=None):
group_max_step = group_df.fillna(-1e9).idxmax(axis=0)
metric_max = pd.Series()
metric_max_step = pd.Series()
for group_name, max_step in group_max_step.iteritems():
for group_name, max_step in group_max_step.items():
for metric in group_to_metrics[group_name]:
metric_max[metric] = df[metric][max_step]
metric_max_step[metric] = max_step
Expand Down

0 comments on commit 24d9d3b

Please sign in to comment.