class_docstr: Model from "Engaging Image Chat: Modeling Personality in Grounded Dialogue".
  
  See paper for more details: (https://arxiv.org/abs/1811.00945)
  
  An extension of the model from https://arxiv.org/abs/1810.10665; given
  an image, personality, and dialogue history, predicts the next utterance
  in a dialogue.
class_docstr_tok: ["Model","from","``","Engaging","Image","Chat",":","Modeling","Personality","in","Grounded","Dialogue","''",".","See","paper","for","more","details",":","(","https",":","\/\/arxiv.org\/abs\/1811.00945",")","An","extension","of","the","model","from","https",":","\/\/arxiv.org\/abs\/1810.10665",";","given","an","image",",","personality",",","and","dialogue","history",",","predicts","the","next","utterance","in","a","dialogue","."]
docstr: Override to add personality-override option.
docstr_tok: ["Override","to","add","personality-override","option","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Override to add personality-override option.
      """
      TransresnetMultimodalModel.add_cmdline_args(
          parser, partial_opt=partial_opt
      )
      super().add_cmdline_args(parser, partial_opt=partial_opt)
      arg_group = parser.add_argument_group(
          "TransresnetMultimodal Arguments"
      )
      parser.add_argument(
          "--personality-override",
          type=str,
          default=None,
          help="for use in other tasks where no personality "
          "is given. This will give the model a personality "
          "(whichever is specified).",
      )
      parser.add_argument(
          "--personalities-path",
          type=str,
          default=None,
          help="Path to personalities list",
      )
      return arg_group
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.utils.misc import round_sigfigs
  from parlai.core.message import Message
  from .modules import TransresnetMultimodalModel
  from projects.personality_captions.transresnet.transresnet import TransresnetAgent
  from parlai.utils.io import PathManager
  import parlai.utils.torch
  import torch
  from torch import optim
  import random
  import numpy
  import tqdm
  from collections import deque
label_desc: Use image node_id 1 for calling the TransresnetMultimodalAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: arg_group