class_docstr: Dummy-valued seq2seq salience, for testing.
class_docstr_tok: ["Dummy-valued","seq2seq","salience",",","for","testing","."]
code: def run(
      self,
      inputs: list[JsonDict],
      model: lit_model.Model,
      dataset: lit_dataset.Dataset,
      model_outputs: Optional[list[JsonDict]] = None,
      config: Optional[JsonDict] = None,
  ) -> Optional[list[JsonDict]]:
      del dataset
      del config
  
      field_map = self.find_fields(model)
  
      # Run model, if needed.
      if model_outputs is None:
          model_outputs = list(model.predict(inputs))
      assert len(model_outputs) == len(inputs)
  
      return [
          self._run_single(
              ex, mo, field_map
          )  # pytype: disable=wrong-arg-types
          for ex, mo in zip(inputs, model_outputs)
      ]
  
file_path: lit/lit_nlp/components/sequence_salience.py
imports: from typing import Optional
  import Levenshtein
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import dtypes
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.lib import utils
  import numpy
label_desc: Use image node_id 4 for calling the DummySequenceSalience obj's underlying member method code with example usage: obj.run(inputs, model, dataset, model_outputs, config) and returns: unknown