class_docstr: Execute fast ACUTE runs.
class_docstr_tok: ["Execute","fast","ACUTE","runs","."]
docstr: Load selfchats for models.
  
  :return conversations:
      A dictionary mapping model_id to self-chat dialogues
docstr_tok: ["Load","selfchats","for","models",".",":","return","conversations",":","A","dictionary","mapping","model_id","to","self-chat","dialogues"]
code: def _load_selfchats(self) -> Dict[str, List[Dict[str, Any]]]:
      """
      Load selfchats for models.
  
      :return conversations:
          A dictionary mapping model_id to self-chat dialogues
      """
      conversations = {}
      for m in self.models:
          model_fp = self.chat_files[m]
          conversations[m] = []
          with open(model_fp) as f_read:
              for line in f_read:
                  conversations[m].append(json.loads(line.strip()))
      return conversations
  
imports: import datetime
  import json
  import os
  import random
  import time
  from dataclasses import dataclass, field
  from itertools import combinations
  from typing import Any, Dict, List, Optional, Set, Tuple
  import hydra
  import torch
  from mephisto.operations.hydra_config import register_script_config
  from mephisto.operations.operator import Operator
  from mephisto.tools.scripts import load_db_and_process_config
  from omegaconf import DictConfig, OmegaConf
  from parlai.crowdsourcing.tasks.acute_eval.analysis import AcuteAnalyzer, setup_args
  from parlai.crowdsourcing.tasks.acute_eval.dump_task_to_acute_format import dump_data, setup_args
  from parlai.crowdsourcing.tasks.acute_eval.fast_acute_blueprint import FAST_ACUTE_BLUEPRINT_TYPE
  from parlai.crowdsourcing.tasks.acute_eval.util import get_hashed_combo_path, TASK_DIRECTORY
  from parlai.crowdsourcing.utils.mturk import MTurkRunScriptConfig
  from parlai.scripts.self_chat import self_chat, setup_args
  from parlai.utils.strings import normalize_reply
  from parlai.utils.testing import capture_output
label_desc: Use image node_id 11 for calling the FastAcuteExecutor obj's underlying member method code with example usage: obj._load_selfchats() and returns: conversations