class_docstr: A class named Evaluator includes GPT-3.5/GPT-4 evaluation
code: def __init__(
      self,
      params: Dict[str, Any],
      battle_prompt: Dict[str, Any],
      gpt_evaluation_prompt: Dict[str, Any],
      gpt_model: str,
      language: str,
      gpt_with_reference: bool,
  ) -> None:
      self.params = params
      self.battle_prompt = battle_prompt
      self.gpt_evaluation_prompt = gpt_evaluation_prompt
      self.gpt_model = gpt_model
      self.language = language
      self.gpt_with_reference = gpt_with_reference
      self.gpt_evaluation_results = dict()
      self.battle_results = []
  
file_path: colossalai/applications/ColossalEval/colossal_eval/evaluate/evaluator.py
imports: import os
  from typing import Any, Dict, List
  import colossal_eval.evaluate.gpt_evaluate
  from .utils import get_data_per_category
label_desc: Use image node_id 1 to create a new Evaluator object from inherited base classes: object with example: obj = Evaluator(params, battle_prompt, gpt_evaluation_prompt, gpt_model, language, gpt_with_reference)