class_docstr: The implement of DialogReader.
docstr: Add cmdline argurments.
docstr_tok: ["Add","cmdline","argurments","."]
code: def add_cmdline_args(cls, parser):
      """Add cmdline argurments."""
      group = parser.add_argument_group("Reader")
      group.add_argument("--max_src_len", type=int, default=128)
      group.add_argument("--max_tgt_len", type=int, default=128)
      group.add_argument(
          "--truncate_first_turn", type=str2bool, default=False
      )
      group.add_argument(
          "--file_format",
          type=str,
          default="file",
          choices=["file", "filelist"],
      )
      group.add_argument(
          "--data_format",
          type=str,
          default="raw",
          choices=["raw", "tokenized", "numerical"],
      )
      group.add_argument("--in_tokens", type=str2bool, default=False)
      group.add_argument("--batch_size", type=int, default=16)
      group.add_argument(
          "--continuous_position", type=str2bool, default=True
      )
      group.add_argument("--random_seed", type=int, default=11)
      group.add_argument("--sort_pool_size", type=int, default=2**16)
  
      group = parser.add_argument_group("Tokenizer")
      group.add_argument(
          "--tokenizer", type=str, default="SentencePieceTokenizer"
      )
      args, _ = parser.parse_known_args()
      tokenizer_cls = getattr(tokenization, args.tokenizer)
      tokenizer_cls.add_cmdline_args(parser)
      return group
  
imports: import csv
  from collections import namedtuple
  from contextlib import contextmanager
  import gzip
  import numpy
  from ..utils import pad_batch_data
  from ..utils.args import str2bool
  from ..utils.masking import mask
  from ..utils import tokenization
label_desc: Use image node_id 1 for calling the DialogReader obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser) and returns: group