code: def parse_args():
      parser = argparse.ArgumentParser(description="CLI chat")
      parser.add_argument(
          "--lm_model_name_or_path",
          type=str,
          help="Path to pretrained model or model identifier from huggingface.co/models.",
          required=True,
      )
      parser.add_argument(
          "--vision_model_name_or_path",
          default="openai/clip-vit-large-patch14",
          type=str,
      )
      parser.add_argument(
          "--checkpoint_path",
          default=None,
          type=str,
          help="path to pretrained model",
      )
      parser.add_argument(
          "--max_seq_len",
          type=int,
          default=4096,
          help="The maximum sequence length.",
      )
      parser.add_argument(
          "--generation_length_per_round",
          type=int,
          default=256,
          help="The generation length per conversation round.",
      )
      parser.add_argument(
          "--enable_mmca_attention",
          action="store_true",
          help="enable the new proposed attn, which is similar to cross attention",
      )
      parser.add_argument(
          "--vis_proj",
          type=str,
          default="baseline",
          help="baseline, vit, or perceiver",
      )
      parser = deepspeed.add_config_arguments(parser)
      args = parser.parse_args()
  
      return args
  
file_path: deepspeedexamples/applications/DeepSpeed-VisualChat/chat/chat.py
imports: import argparse
  import os
  import sys
  from PIL import Image
  import torch
  import deepspeed
  from utils.utils import print_rank_0
  from utils.model import create_dsvl_model_and_transforms
  import utils.data.DST
  from transformers import AutoTokenizer
  from termcolor import colored
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args