code: def setUpClass(cls):
      super().setUpClass()
      cls.model = caching.CachingModelWrapper(
          glue_models.SST2Model(BERT_TINY_PATH), "test"
      )
      cls.dataset = lit_dataset.IndexedDataset(
          id_fn=caching.input_hash,
          spec={
              "sentence": lit_types.TextSegment(),
              "label": lit_types.CategoryLabel(vocab=["0", "1"]),
          },
          examples=_EXAMPLES,
      )
      cls.model_outputs = list(cls.model.predict(_EXAMPLES))
  
file_path: lit/lit_nlp/components/thresholder_int_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.components import thresholder
  from lit_nlp.examples.models import glue_models
  from lit_nlp.lib import caching
  from lit_nlp.lib import file_cache
label_desc: Use image node_id 1 for calling the ThresholderTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types