code: def build_model(self) -> DirectorComboFidModel:
      if self.generation_model == "t5":
          RuntimeError("T5 currently not supported")
      else:
          model = DirectorComboFidModel(self.opt, self.dict)
      if self.opt["embedding_type"] != "random":
          self._copy_embeddings(
              model.encoder.embeddings.weight,
              self.opt["embedding_type"],
          )
      return model
  
imports: import torch
  import torch.nn.functional
  import copy
  from typing import Optional, List, Tuple, Any, Dict, Union
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.torch_agent import Batch
  from parlai.core.message import Message
  from parlai.agents.rag.retrievers import Document
  from parlai.agents.fid.fid import SearchQueryFiDAgent, WizIntGoldDocRetrieverFiDAgent
  import parlai.utils.logging
  from projects.seeker.agents.seeker_modules import ComboFidModel
  from projects.seeker.agents.seeker import ComboFidAgent, SeekerAgent
  from projects.fits.agents.director_bb2 import DirectorFidAgent, DirectorFidModelMixin
label_desc: Use image node_id 2 for calling the DirectorComboFidAgent obj's underlying member method code with example usage: obj.build_model() and returns: model