Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 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 Expand Up @@ -402,7 +404,6 @@ def _maybe_run_train_eval(train_state: train_state_lib.TrainState):
from absl import app
from absl import flags
import fiddle as fdl
import gin
from t5x import config_utils

FLAGS = flags.FLAGS
Expand Down