class_docstr: Base class for model wrapper.
  
  Args:
      path: The path to the model.
      model_max_length: The maximum sequence length of the model.
      prompt_template: The model's prompt template.
      batch_size: Batch size for inference.
      logger: Logger for the model.
docstr: Generate results given a list of inputs.
  
  Args:
      inputs: A list of strings.
      max_new_tokens: The maximum length of the output.
  
  Returns:
      A list of generated strings.
code: def generate(
      self, inputs: List[str], max_new_tokens: int
  ) -> List[str]:
      """
      Generate results given a list of inputs.
  
      Args:
          inputs: A list of strings.
          max_new_tokens: The maximum length of the output.
  
      Returns:
          A list of generated strings.
      """
  
file_path: ColossalAI/applications/ColossalEval/colossal_eval/models/base.py
imports: from abc import abstractclassmethod
  from typing import Dict, List
  from colossal_eval.utils import Conversation, prompt_templates
  from colossalai.logging import DistributedLogger
label_desc: Use image node_id 3 for calling the BaseModel obj's underlying member method code with example usage: obj.generate(inputs, max_new_tokens) without return types