code: def get_parser() -> argparse.ArgumentParser:
      parser = argparse.ArgumentParser(
          description="Export Hugging Face vocabulary",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--log_level",
          type=lambda x: x.upper(),
          default="INFO",
          choices=(
              "CRITICAL",
              "ERROR",
              "WARNING",
              "INFO",
              "DEBUG",
              "NOTSET",
          ),
          help="The verbose level of logging",
      )
  
      parser.add_argument(
          "--output",
          "-o",
          required=True,
          help="Output text. - indicates sys.stdout",
      )
      parser.add_argument(
          "--model_name_or_path",
          type=str,
          required=True,
          help="Hugging Face model name or path",
      )
  
      parser.add_argument(
          "--add_symbol",
          type=str,
          default=[],
          action="append",
          help="Append symbol e.g. --add_symbol '<blank>:0' --add_symbol '<unk>:1'",
      )
  
      return parser
  
file_path: espnet/espnet2/bin/hugging_face_export_vocabulary.py
imports: import argparse
  import logging
  import sys
  from pathlib import Path
  from typing import List
  from typeguard import check_argument_types
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 2 for calling a global function with example usage: get_parser() and returns: parser