code: def test_hotflip_freeze_tokens(
      self, ignore: list[str], exp_indexes: list[int]
  ):
      config = {
          **_CONFIG_CLASSIFICATION,
          hotflip.NUM_EXAMPLES_KEY: 10,
          hotflip.TOKENS_TO_IGNORE_KEY: ignore,
      }
  
      counterfactuals = self.hotflip.generate(
          _SST2_EXAMPLE, self.classification_model, None, config
      )
      self.assertEqual(len(ignore), len(exp_indexes))
      for target, index in zip(ignore, exp_indexes):
          for counterfactual in counterfactuals:
              tokens = counterfactual["tokens_sentence"]
              self.assertEqual(target, tokens[index])
  
file_path: lit/lit_nlp/components/hotflip_int_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.components import hotflip
  from lit_nlp.examples.models import glue_models
  import numpy
  from lit_nlp.lib import file_cache
label_desc: Use image node_id 5 for calling the HotflipIntegrationTest obj's underlying member method code with example usage: obj.test_hotflip_freeze_tokens(ignore, exp_indexes) without return types