Skip to content

Commit

Permalink
fix eval
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 612503759
  • Loading branch information
liangyaning33 authored and t5-copybara committed Mar 4, 2024
1 parent 6ec92a8 commit 828fdd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t5x/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
os.environ['FLAX_LAZY_RNG'] = 'no'
from absl import logging
from clu import metric_writers
import gin
import jax
import seqio
from t5x import checkpoints
Expand Down Expand Up @@ -61,6 +62,7 @@ def __call__(
...


@gin.configurable
class InferenceEvaluator:
"""Runs evaluation of the model against a given SeqIo task."""

Expand Down

0 comments on commit 828fdd9

Please sign in to comment.