code: def parse_args():
      parser = ArgumentParser()
      parser.add_argument(
          "--use-bminf",
          default=False,
          action="store_true",
          help="Whether to use BMInf",
      )
      parser.add_argument(
          "--memory-limit",
          type=int,
          default=20,
          help="GPU Memory limit, in GB",
      )
      parser.add_argument(
          "--delta", default=None, type=str, help="The path to lora."
      )
      parser.add_argument(
          "--device",
          default="cuda:0",
          type=str,
          help="The target device.",
      )
      args = parser.parse_args()
      return args
  
file_path: DeepKE/example/llm/CPM-Bee/src/text_generation.py
imports: from argparse import ArgumentParser
  from cpm_live.generation.bee import CPMBeeBeamSearch
  from cpm_live.models import CPMBeeTorch, CPMBeeConfig
  from cpm_live.tokenizers import CPMBeeTokenizer
  from opendelta import LoraModel
  import torch
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args