Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 597955531
  • Loading branch information
Uncertainty Baselines Team authored and copybara-github committed Jan 12, 2024
1 parent 1a05bb3 commit 6ab3524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baselines/t5/data/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def wrapped_seq2seq_uncertainty_metrics(


def _seq2seq_uncertainty_metrics(
targets: List[Text],
predictions: List[Text],
targets: List[Text | int],
predictions: List[Text | int],
log_probs: np.ndarray,
num_ece_bins: int = 15,
metric_prefix: str = '',
Expand Down

0 comments on commit 6ab3524

Please sign in to comment.