code: def parse_args():
      parser = ArgumentParser()
      parser.add_argument(
          "--modality",
          type=str,
          help="Modality",
          choices=["audio", "video", "audiovisual"],
          required=True,
      )
      parser.add_argument(
          "--mode",
          type=str,
          help="Perform online or offline recognition.",
          required=True,
      )
      parser.add_argument(
          "--root-dir",
          type=str,
          help="Root directory to LRS3 audio-visual datasets.",
          required=True,
      )
      parser.add_argument(
          "--sp-model-path",
          type=str,
          help="Path to SentencePiece model.",
          required=True,
      )
      parser.add_argument(
          "--pretrained-model-path",
          type=str,
          help="Path to Pretraned model.",
      )
      parser.add_argument(
          "--exp-dir",
          default="./exp",
          type=str,
          help="Directory to save checkpoints and logs to. (Default: './exp')",
      )
      parser.add_argument(
          "--exp-name",
          type=str,
          help="Experiment name",
      )
      parser.add_argument(
          "--num-nodes",
          default=4,
          type=int,
          help="Number of nodes to use for training. (Default: 4)",
      )
      parser.add_argument(
          "--gpus",
          default=8,
          type=int,
          help="Number of GPUs per node to use for training. (Default: 8)",
      )
      parser.add_argument(
          "--epochs",
          default=55,
          type=int,
          help="Number of epochs to train for. (Default: 55)",
      )
      parser.add_argument(
          "--resume-from-checkpoint",
          default=None,
          type=str,
          help="Path to the checkpoint to resume from",
      )
      parser.add_argument(
          "--debug",
          action="store_true",
          help="Whether to use debug level for logging",
      )
      return parser.parse_args()
  
file_path: audio/examples/avsr/train.py
imports: import logging
  import os
  from argparse import ArgumentParser
  import sentencepiece
  from average_checkpoints import ensemble
  from pytorch_lightning import seed_everything, Trainer
  from pytorch_lightning.callbacks import LearningRateMonitor, ModelCheckpoint
  from pytorch_lightning.strategies import DDPStrategy
  from transforms import get_data_module
label_desc: Use image node_id 3 for calling a global function with example usage: parse_args() and returns: parser