code: def mock_decode(self, ids):
      decode_dict = {v: k for k, v in self._encode_dict.items()}
      words = [decode_dict[token] for token in ids if token != 0]
      return " ".join(words)
  
imports: from unittest import mock
  from absl.testing import absltest
  import numpy
  import seqio
  import sklearn.metrics
  from t5.evaluation import metrics
  from t5.evaluation import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: mock_decode(ids) and returns: str