code: def get_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--model_dir",
          required=True,
          type=str,
          help="Path to a folder containing .nemo translation model files.",
      )
      parser.add_argument(
          "--punctuation_model",
          default="",
          type=str,
          help="Optionally provide a path a .nemo file for punctation and capitalization (recommend if working with Riva speech recognition outputs)",
      )
      parser.add_argument(
          "--port", default=50052, type=int, required=False
      )
      parser.add_argument(
          "--batch_size",
          type=int,
          default=256,
          help="Maximum number of batches to process",
      )
      parser.add_argument(
          "--beam_size", type=int, default=1, help="Beam Size"
      )
      parser.add_argument(
          "--len_pen", type=float, default=0.6, help="Length Penalty"
      )
      parser.add_argument(
          "--max_delta_length",
          type=int,
          default=5,
          help="Max Delta Generation Length.",
      )
  
      args = parser.parse_args()
      return args
  
file_path: NeMo/tools/nmt_grpc_service/server.py
imports: import argparse
  import os
  from concurrent import futures
  import api.nmt_pb2
  import api.nmt_pb2_grpc
  import grpc
  import torch
  import nemo.collections.nlp
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args