code: def run(self):
      nlp, outputs = self._nlp, []
  
      for entry in self._reader:
          output = (
              nlp(**entry)
              if self._reader.is_multi_columns
              else nlp(entry)
          )
          if isinstance(output, dict):
              outputs.append(output)
          else:
              outputs += output
  
      # Saving data
      if self._nlp.binary_output:
          binary_path = self._reader.save_binary(outputs)
          logger.warning(
              f"Current pipeline requires output to be in binary format, saving at {binary_path}"
          )
      else:
          self._reader.save(outputs)
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/src/transformers/commands/run.py
imports: from argparse import ArgumentParser
  from ..pipelines import Pipeline, PipelineDataFormat, get_supported_tasks, pipeline
  from ..utils import logging
  from .None import BaseTransformersCLICommand
label_desc: Use image node_id 3 for calling the RunCommand obj's underlying member method code with example usage: obj.run() without return types