class_docstr: Manages interactions between agents on messenger as well as direct interactions
  between agents and the messenger overworld.
docstr: Load model if necessary.
docstr_tok: ["Load","model","if","necessary","."]
code: def _load_model(self):
      """
      Load model if necessary.
      """
      if "models" in self.opt and self.should_load_model:
          model_params = {}
          model_info = {}
          for model in self.opt["models"]:
              model_opt = self.opt["models"][model]
              overrides = model_opt.get("overrides", {})
              if type(overrides) is list:
                  model_opt["overrides"] = overrides[0]
              model_params[model] = create_agent(model_opt).share()
              model_info[model] = {"overrides": overrides}
          self.runner_opt["model_info"] = model_info
          self.runner_opt["shared_bot_params"] = model_params
  
imports: import logging
  import os
  from parlai.core.agents import create_agent
  import parlai.chat_service.utils.logging
  import parlai.chat_service.utils.server
  from parlai.utils.io import PathManager
  from parlai.chat_service.services.messenger.agents import MessengerAgent
  from parlai.chat_service.core.socket import ChatServiceMessageSocket
  from parlai.chat_service.services.messenger.message_sender import MessageSender
  from parlai.chat_service.core.chat_service_manager import ChatServiceManager
label_desc: Use image node_id 5 for calling the MessengerManager obj's underlying member method code with example usage: obj._load_model() without return types