class_docstr: Base class for LIT generators.
class_docstr_tok: ["Base","class","for","LIT","generators","."]
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,
  ):
      del model_outputs
      return self.generate_all(inputs, model, dataset, config)
  
imports: import abc
  from collections.abc import Sequence
  import inspect
  from typing import Any, Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
label_desc: Use image node_id 1 for calling the Generator obj's underlying member method code with example usage: obj.run(inputs, model, dataset, model_outputs, config) and returns: self