code: def test_small(self):
      inputs = [{"answers": ["abc abd", "$$$$"]}]
  
      with mock.patch.object(
          seqio.test_utils.MockVocabulary, "decode", new=mock_decode
      ):
          vocabulary = seqio.test_utils.MockVocabulary(
              {"abd": 2}, vocab_size=10
          )
  
          model_output = np.array([[2]])
          features = {"targets": seqio.Feature(vocabulary)}
          metric = metrics.ShardedSquad.from_model_output(
              inputs, model_output, features
          )
          self.assertDictClose(
              metric.compute(), {"f1": 100 * 2.0 / 3.0, "em": 0.0}
          )
  
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 4 for calling the ShardedSquadTest obj's underlying member method code with example usage: obj.test_small() without return types