class_docstr: DecoderOnlyAgent.
  
  Implementation of TorchGeneratorAgent, where the model is a Decoder-Only
  Transformer.
class_docstr_tok: ["DecoderOnlyAgent",".","Implementation","of","TorchGeneratorAgent",",","where","the","model","is","a","Decoder-Only","Transformer","."]
docstr: Add command-line arguments specifically for this agent.
docstr_tok: ["Add","command-line","arguments","specifically","for","this","agent","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Add command-line arguments specifically for this agent.
      """
      agent = parser.add_argument_group(
          "Decoder-Only Transformer Arguments"
      )
      add_common_cmdline_args(agent)
      cls.dictionary_class().add_cmdline_args(
          parser, partial_opt=partial_opt
      )
  
      super().add_cmdline_args(parser, partial_opt=partial_opt)
      return agent
  
file_path: ParlAI/parlai/agents/transformer/decoder.py
imports: from typing import Optional
  from parlai.agents.transformer.transformer import add_common_cmdline_args
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.torch_generator_agent import TorchGeneratorAgent
  from parlai.utils.logging import logging
  from parlai.utils.misc import recursive_getattr
  from parlai.utils.torch import padded_tensor
  from .modules import PassThroughEncoder, TransformerDecoderOnly, TransformerGeneratorModel
label_desc: Use image node_id 1 for calling the DecoderAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: agent