code: def get_parser():
      parser = argparse.ArgumentParser(
          description="Converts old Jasper/QuartzNet models to NeMo v1.0beta"
      )
      parser.add_argument(
          "--config_path",
          default=None,
          required=True,
          help="Path to model config (NeMo v1.0beta)",
      )
      parser.add_argument(
          "--encoder_ckpt",
          default=None,
          required=True,
          help="Encoder checkpoint path",
      )
      parser.add_argument(
          "--decoder_ckpt",
          default=None,
          required=True,
          help="Decoder checkpoint path",
      )
      parser.add_argument(
          "--output_path",
          default=None,
          required=True,
          help="Output checkpoint path (should be .nemo)",
      )
      parser.add_argument(
          "--model_type",
          default="asr",
          type=str,
          choices=["asr", "speech_label", "speaker"],
          help="Type of decoder used by the model.",
      )
  
      return parser
  
imports: import argparse
  import torch
  from omegaconf import DictConfig
  from ruamel.yaml import YAML
  import nemo.collections.asr
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser