class_docstr: Text generation evaluator.
  This Text generation evaluator can currently be loaded from [`evaluator`] using the default task name
  `text-generation`.
  Methods in this class assume a data format compatible with the [`~transformers.TextGenerationPipeline`].
code: def __init__(
      self,
      task="text-generation",
      default_metric_name=None,
      predictions_prefix: str = "generated",
  ):
      super().__init__(
          task=task, default_metric_name=default_metric_name
      )
      self.predictions_prefix = predictions_prefix
  
file_path: evaluate/src/evaluate/evaluator/text_generation.py
imports: from typing import Dict, Tuple
  from datasets import Dataset
  from .base import Evaluator
  from .utils import DatasetColumn
label_desc: Use image node_id 2 to create a new TextGenerationEvaluator object from inherited base classes: Evaluator with example: obj = TextGenerationEvaluator(task, default_metric_name, predictions_prefix)